]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
testnode: Update SELinux policy when configuring NRPE 231/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 22 Apr 2016 22:50:10 +0000 (18:50 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 22 Apr 2016 22:59:37 +0000 (18:59 -0400)
commitd44db1188295ed7bd7143b961dd1c6cba1a71c56
tree9ef33ae804296444c0f22b43760f045ffc98ec64
parentc7f2f588caa1648c2a3a4d7633886ecc40490b14
testnode: Update SELinux policy when configuring NRPE

The 'nagios_run_sudo' boolean was added after RHEL7.1 GA.

https://rhn.redhat.com/errata/RHBA-2015-1140.html

Attempting to set the boolean when it's not present causes ansible
to fail.  NRPE will cause SELinux failures in test jobs unless set
so the only other option would be to disable NRPE on
RHEL/CentOS <= 7.1

This change ensures the testnode has the latest version of SELinux
policy installed, and thus, ensuring the boolean exists.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/nrpe-selinux.yml