try || instead of or?

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

View file

@ -53,7 +53,7 @@
- name: install python2 and dnf stuff
raw: dnf -y install python-dnf libselinux-python
when: facts|failed or ansible_distribution_major_version|int >= 23
when: facts|failed || ansible_distribution_major_version|int >= 23
- name: provision instance
hosts: tmp_just_created