Skip to content

Commit 8635afb

Browse files
authored
Merge pull request #2319 from rlopez133/devel
adding raw tag to handlers exercises
2 parents 57a35ae + 9d82da6 commit 8635afb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

exercises/ansible_rhel/1.5-handlers/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Handlers are used for tasks that should only run when notified by another task.
8383

8484
Let's say we want to ensure the firewall is configured correctly on all web servers and then reload the firewall service to apply any new settings. We'll define a handler that reloads the firewall service and is notified by a task ^that ensures the desired firewall rules are in place. Add the following tasks to the existing playbook to install firewalld and enable firewalld and reload the service with the help of handlers.
8585

86+
{% raw %}
8687

8788
```yaml
8889
---
@@ -141,6 +142,8 @@ Let's say we want to ensure the firewall is configured correctly on all web serv
141142
142143
```
143144

145+
{% endraw %}
146+
144147
The handler "Reload Firewall" is triggered only if the task “Allow HTTP traffic on web servers” makes any changes.
145148

146149

0 commit comments

Comments
 (0)