From eec686354feaedbd5f0f27152e0ec3bb5a4268a0 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 12 Nov 2018 00:58:42 +0000 Subject: [PATCH] you can only have one pre_tasks --- playbooks/groups/people.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/playbooks/groups/people.yml b/playbooks/groups/people.yml index 21e4bcd919..bce414474e 100644 --- a/playbooks/groups/people.yml +++ b/playbooks/groups/people.yml @@ -15,6 +15,8 @@ pre_tasks: + - import_tasks: "{{ tasks_path }}/yumrepos.yml" + - name: mount project volume mount: > name=/project @@ -81,9 +83,6 @@ - people - pre_tasks: - - import_tasks: "{{ tasks_path }}/yumrepos.yml" - tasks: - import_tasks: "{{ tasks_path }}/2fa_client.yml" - import_tasks: "{{ tasks_path }}/motd.yml"