This doesn’t work of course, but shows what I am trying to do. I wish to call a playbook before a couple of roles. How might I do this?
Doesn’t work, but is an explanatory example:
`
This doesn’t work of course, but shows what I am trying to do. I wish to call a playbook before a couple of roles. How might I do this?
Doesn’t work, but is an explanatory example:
`
you cannot have a play inside a play, - import_playbook cannot be in a
task section, but easy enough to do what you want:
- import_playbook: /etc/ansible/playbooks/one-offs/update_gitlab_scripts.yml
- hosts: "{{ host}}"
roles: ....
Thanks Brian!