From e114a89fdf88357c805061a96de82b72bc704818 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 8 Nov 2017 14:59:00 +0000 Subject: [PATCH] Move yumrepos to pre-tasks for osbs-cluster Signed-off-by: Patrick Uiterwijk --- playbooks/groups/osbs-cluster.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index dbdd297fe0..58f68340c2 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -14,6 +14,9 @@ - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + pre_tasks: + - import_tasks: "{{ tasks_path }}/yumrepos.yml" + roles: - base - rkhunter @@ -25,7 +28,6 @@ - sudo tasks: - - import_tasks: "{{ tasks_path }}/yumrepos.yml" - import_tasks: "{{ tasks_path }}/2fa_client.yml" - import_tasks: "{{ tasks_path }}/motd.yml"