Move yum repos to pretask here so we have the infra repo for fas-clients
This commit is contained in:
parent
3f30b7437c
commit
cc0cf1eb34
2 changed files with 6 additions and 2 deletions
playbooks/groups
|
@ -11,6 +11,9 @@
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
pre_tasks:
|
||||||
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- rkhunter
|
- rkhunter
|
||||||
|
@ -21,7 +24,6 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
pre_tasks:
|
||||||
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- rkhunter
|
- rkhunter
|
||||||
|
@ -21,7 +24,6 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# this is how you include other task lists
|
# this is how you include other task lists
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue