summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/playbook-parent.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/playbooks/playbook-parent.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/playbooks/playbook-parent.yml b/examples/playbooks/playbook-parent.yml
new file mode 100644
index 0000000..b7d0edd
--- /dev/null
+++ b/examples/playbooks/playbook-parent.yml
@@ -0,0 +1,9 @@
+---
+- name: Importing another playbook
+ ansible.builtin.import_playbook: playbook-imported.yml
+
+- name: Importing playbook from collection
+ import_playbook: community.molecule.validate # noqa: fqcn
+
+- name: Importing playbook using jinja2
+ import_playbook: "{{ 'community.molecule.validate' }}" # noqa: fqcn