Move yum repos to pretask here so we have the infra repo for fas-clients

This commit is contained in:
Kevin Fenzi 2015-06-12 19:49:48 +00:00
parent 3f30b7437c
commit cc0cf1eb34
2 changed files with 6 additions and 2 deletions

View file

@ -11,6 +11,9 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks }}/yumrepos.yml"
roles:
- base
- rkhunter
@ -21,7 +24,6 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml"
- include: "{{ tasks }}/motd.yml"
handlers:

View file

@ -11,6 +11,9 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- include: "{{ tasks }}/yumrepos.yml"
roles:
- base
- rkhunter
@ -21,7 +24,6 @@
tasks:
# this is how you include other task lists
- include: "{{ tasks }}/yumrepos.yml"
- include: "{{ tasks }}/motd.yml"
handlers: