Roles are executed before "loose" things.

This commit is contained in:
Ralph Bean 2013-06-12 20:01:26 +00:00
parent 790cdf0373
commit 6c2ce2392b

View file

@ -24,6 +24,13 @@
user: root
gather_facts: True
# Roles are executed before all other "loose" items in a playbook regardless
# of where they appear in the yaml config. We put them here first to help us
# remember that.
roles:
- /srv/web/infra/ansible/roles/fedmsg-hub
- /srv/web/infra/ansible/roles/badges-backend
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
@ -44,7 +51,3 @@
handlers:
- include: $handlers/restart_services.yml
roles:
- /srv/web/infra/ansible/roles/fedmsg-hub
- /srv/web/infra/ansible/roles/badges-backend