okay fine, try it this way
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
d6e8c6233e
commit
42fd762e29
1 changed files with 5 additions and 1 deletions
|
@ -53,7 +53,11 @@
|
|||
|
||||
- name: install python2 and dnf stuff
|
||||
raw: dnf -y install python-dnf libselinux-python
|
||||
when: facts|failed || ansible_distribution_major_version|int >= 23
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue