Minimal Ansible playbook which just includes another playbook
This simple playbook just includes another playbook and runs on localhost
.
include_playbook.yaml
---
- name: Initial System Setup
hosts: localhost
- name: Include the other playbook
ansible.builtin.import_playbook: my-sub-playbook.yaml
Check out similar posts by category:
Ansible
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow