make sure we have repos setup before roles

This commit is contained in:
Kevin Fenzi 2017-01-03 21:31:10 +00:00
parent e4745f596e
commit b2c702c110

View file

@ -15,6 +15,9 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks }}/yumrepos.yml"
roles:
- base
- rkhunter
@ -33,7 +36,6 @@
when: env != "staging" }
tasks:
- include: "{{ tasks }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml"