adds name lines to handler re-use examples (#71946)

Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
This commit is contained in:
Alicia Cozine 2020-09-25 11:46:45 -05:00 committed by GitHub
parent c1005147e0
commit eed606e0e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ Includes are executed at run-time, so the name of the include exists during play
.. code-block:: yaml
- trigger an included (dynamic) handler
- name: Trigger an included (dynamic) handler
hosts: localhost
handlers:
- name: Restart services
@ -168,11 +168,11 @@ Imports are processed before the play begins, so the name of the import no longe
.. code-block:: yaml
- trigger an imported (static) handler
- name: Trigger an imported (static) handler
hosts: localhost
handlers:
- name: Restart services
import_tasks: restarts.yml
- name: Restart services
import_tasks: restarts.yml
tasks:
- command: "true"
notify: Restart apache