Fix this conditional to work right when ostree isn't defined.

This commit is contained in:
Kevin Fenzi 2015-05-27 21:15:06 +00:00
parent fdb96c6194
commit a9a3db1d3b

View file

@ -13,7 +13,7 @@
- name: ntp pkgs
command: dnf install -y ntpdate ntp libsemanage-python libselinux-python
when: ansible_distribution_major_version > '21' and not ansible_cmdline.ostree
when: ansible_distribution_major_version > '21' and ansible_cmdline.ostree is not defined
tags:
- packages