mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
- hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- import_role:
|
||||
name: include_handler_test
|
||||
|
||||
- hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- import_role:
|
||||
name: import_handler_test
|
||||
@@ -0,0 +1,2 @@
|
||||
- name: do_import
|
||||
import_tasks: tasks/handlers.yml
|
||||
@@ -0,0 +1,2 @@
|
||||
- debug:
|
||||
msg: import handler task
|
||||
@@ -0,0 +1,3 @@
|
||||
- command: "true"
|
||||
notify:
|
||||
- do_import
|
||||
@@ -0,0 +1,2 @@
|
||||
- name: do_include
|
||||
include_tasks: tasks/handlers.yml
|
||||
@@ -0,0 +1,2 @@
|
||||
- debug:
|
||||
msg: include handler task
|
||||
@@ -0,0 +1,3 @@
|
||||
- command: "true"
|
||||
notify:
|
||||
- do_include
|
||||
Reference in New Issue
Block a user