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:
---
- hosts: "{{ host }}"
pre_tasks:
- name: Import gitlab playbook
import_playbook: /etc/ansible/playbooks/one-offs/update_gitlab_scripts.
yml
roles:
- ansible_dependencies
- cpu_utilization
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/aa11bfa2-a6af-4186-b93c-15f5b8239c68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.