mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
okay fine, try it this way
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user