From 92cd129e5e71ae70a348b13b874a51a5d162c7dc Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Tue, 14 Jun 2016 05:08:44 +0000 Subject: [PATCH] Try moving it down here, but now I wonder if the other one *ever* runs Signed-off-by: Ricky Elrod --- playbooks/transient_cloud_instance.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/playbooks/transient_cloud_instance.yml b/playbooks/transient_cloud_instance.yml index dad1908401..6e67448152 100644 --- a/playbooks/transient_cloud_instance.yml +++ b/playbooks/transient_cloud_instance.yml @@ -55,10 +55,6 @@ raw: dnf -y install python-dnf libselinux-python when: facts|failed - - name: install python2 and dnf stuff (f23+) - raw: dnf -y install python-dnf libselinux-python - when: ansible_distribution_major_version|int >= 23 - - name: provision instance hosts: tmp_just_created gather_facts: True @@ -73,6 +69,10 @@ tasks: - include: "{{ tasks }}/yumrepos.yml" + - name: install python2 and dnf stuff (f23+) + raw: dnf -y install python-dnf libselinux-python + when: ansible_distribution_major_version|int >= 23 + - name: install cloud-utils (yum) yum: pkg=cloud-utils state=present when: ansible_distribution_major_version|int < 22