From 076bd1fd2507e7394e4abc6e6374b36958d1851e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 3 Jan 2018 21:41:17 +0000 Subject: [PATCH] need repos first --- playbooks/groups/bodhi-backend.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/bodhi-backend.yml b/playbooks/groups/bodhi-backend.yml index 4d9ad786e3..cfcf5d019e 100644 --- a/playbooks/groups/bodhi-backend.yml +++ b/playbooks/groups/bodhi-backend.yml @@ -19,6 +19,9 @@ - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + pre_tasks: + - import_tasks: "{{ tasks_path }}/yumrepos.yml" + roles: - base - nagios_client @@ -78,7 +81,6 @@ tags: bodhi when: env == 'staging' - import_tasks: "{{ tasks_path }}/2fa_client.yml" - - import_tasks: "{{ tasks_path }}/yumrepos.yml" - import_tasks: "{{ tasks_path }}/motd.yml" handlers: