diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2015-06-12 19:49:48 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2015-06-12 19:49:48 +0000 |
| commit | cc0cf1eb3435a19088744b3eb219611b329d9acb (patch) | |
| tree | a3b938cbd166cf742c31a48bbc392eef98188b3f | |
| parent | 3f30b7437c627d59e3c8e2f0facf8df25b11d84d (diff) | |
Move yum repos to pretask here so we have the infra repo for fas-clients
| -rw-r--r-- | playbooks/groups/arm-packager.yml | 4 | ||||
| -rw-r--r-- | playbooks/groups/arm-qa.yml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/playbooks/groups/arm-packager.yml b/playbooks/groups/arm-packager.yml index fafe82fd1..c731a6026 100644 --- a/playbooks/groups/arm-packager.yml +++ b/playbooks/groups/arm-packager.yml @@ -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: diff --git a/playbooks/groups/arm-qa.yml b/playbooks/groups/arm-qa.yml index 7a34c2ca8..6cfb5d0c4 100644 --- a/playbooks/groups/arm-qa.yml +++ b/playbooks/groups/arm-qa.yml @@ -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: |
