Can ansible do parentheses here?

This commit is contained in:
Ralph Bean 2014-11-05 16:07:09 +00:00
parent d61307e30c
commit 7534fbc852

View file

@ -99,7 +99,7 @@
- name: install our pstorefs/collectd selinux module
command: semodule -i /usr/share/collectd/fi-pstorefs.pp
when: ansible_distribution_major_version != '6' selinux_module|changed or selinux_grep|failed
when: ansible_distribution_major_version != '6' and (selinux_module|changed or selinux_grep|failed)
tags:
- collectd