mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-16 22:01:15 +00:00
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:
committed by
Alicia Cozine
parent
216da1c475
commit
623f803e0b
@@ -75,7 +75,9 @@ Includes and imports can also be used in the ``handlers:`` section. For instance
|
||||
|
||||
# more_handlers.yml
|
||||
- name: restart apache
|
||||
service: name=apache state=restarted
|
||||
service:
|
||||
name: apache
|
||||
state: restarted
|
||||
|
||||
And in your main playbook file::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user