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:
parent
42fd762e29
commit
92cd129e5e
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue