okay fine, try it this way

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

View file

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