]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
common: Workaround for new ansible conditional evaluation bug 315/head
authorDavid Galloway <dgallowa@redhat.com>
Mon, 27 Mar 2017 21:38:24 +0000 (17:38 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 27 Mar 2017 22:04:10 +0000 (18:04 -0400)
commit763b91aa66e9bded987e57232e09a780513576ad
tree26197adfa1c70c5482301cae7aa22ffd981df3bf
parent8feeb08dc944c1ba9273fe453be3921f1dacd08a
common: Workaround for new ansible conditional evaluation bug

Prior to ansible v2.2.2.0, if the first conditional was false, the second
conditional wasn't checked.

This change makes sure nrpe-selinux.yml is only included on RHEL/CentOS
which are the only OSes that will have stdout for the selinux_status
var.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/common/tasks/main.yml