update example to YAML style in documentation (#45968)
The example is in a key=value format which is deprecated. +label: docsite_pr
This commit is contained in:
parent
216da1c475
commit
623f803e0b
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@ Includes and imports can also be used in the ``handlers:`` section. For instance
|
||||||
|
|
||||||
# more_handlers.yml
|
# more_handlers.yml
|
||||||
- name: restart apache
|
- name: restart apache
|
||||||
service: name=apache state=restarted
|
service:
|
||||||
|
name: apache
|
||||||
|
state: restarted
|
||||||
|
|
||||||
And in your main playbook file::
|
And in your main playbook file::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue