Skip to content

Commit 17a94b3

Browse files
authored
Merge pull request #2272 from IPvSean/devel
Update README.md
2 parents 2bef7d4 + 2f47d12 commit 17a94b3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

exercises/ansible_rhel/1.5-handlers/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ Conditionals, handlers, and loops are advanced features in Ansible that enhance
3636
Conditionals in Ansible control whether a task should run based on certain conditions.
3737
Let's add to the system_setup.yml playbook the ability to install the Apache HTTP Server (`httpd`) only on hosts that belong to the `web` group in our inventory.
3838

39-
> NOTE: Previous examples had hosts set to node1 but now it is set to all. This means when you run this updated Ansible playbook you will notice updates for the new systems being automated against, the user Roger created on all new systems and the Apache web server package httpd installed on all the hosts within the web group.
39+
40+
> Note:
41+
>
42+
> Previous examples had hosts set to node1 but now it is set to all. This means when you run this updated Ansible playbook you will notice updates for the new systems being automated against, the user Roger created on all new systems and the Apache web server package httpd installed on all the hosts within the web group.
43+
>
4044
4145
{% raw %}
4246

@@ -119,7 +123,9 @@ Let's say we want to ensure the firewall is configured correctly on all web serv
119123

120124
The handler Restart Apache is triggered only if the task “Allow HTTP traffic on web servers” makes any changes.
121125

122-
> NOTE: Notice how the name of the handler is used within the notify section of the “Reload Firewall” configuration task. This ensures that the proper handler is executed as there can be multiple handlers within an Ansible playbook.
126+
> NOTE:
127+
>
128+
> Notice how the name of the handler is used within the notify section of the “Reload Firewall” configuration task. This ensures that the proper handler is executed as there can be multiple handlers within an Ansible playbook.
123129

124130
```bash
125131
PLAY [Basic System Setup] ******************************************************

0 commit comments

Comments
 (0)