Try moving it down here, but now I wonder if the other one *ever* runs

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2016-06-14 05:08:44 +00:00
parent 42fd762e29
commit 92cd129e5e

View file

@ -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