Playbook run order

17 views
Skip to first unread message

Chris Bidwell - NOAA Federal

unread,
Nov 13, 2019, 5:25:26 PM11/13/19
to ansible...@googlegroups.com
Hi all! 

Just a simple question but it may be just looking into it too deep.

I've got several playbooks that I run sequentially manually during a server build.  How would I create a separate playbook and call these other playbooks in their respective order?

Thanks!

Jordan Borean

unread,
Nov 13, 2019, 5:42:04 PM11/13/19
to Ansible Project
You can use import_playbook [1] like

# main.yml
- import_playbook: playbook1.yml
- import_playbook: playbook2.yml
...


Reply all
Reply to author
Forward
0 new messages