Merge pull request #1962 from ceph/fix_mgr_sestatus

[skip ci] mgr: add condition to run selinux tasks only on rhel os family
pull/1964/head v3.0.0rc13
Sébastien Han 2017-09-29 02:37:03 +02:00 committed by GitHub
commit deb5d3ba1f
8 changed files with 12 additions and 2 deletions

View File

@ -34,4 +34,6 @@
- "{{ ceph_conf_key_directory }}"
- /var/lib/ceph
changed_when: false
when: sestatus.stdout != 'Disabled'
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'

View File

@ -49,4 +49,6 @@
- "{{ ceph_conf_key_directory }}"
- /var/lib/ceph
changed_when: false
when: sestatus.stdout != 'Disabled'
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'

View File

@ -72,4 +72,5 @@
- /var/lib/ceph
changed_when: false
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'

View File

@ -36,4 +36,5 @@
- /var/lib/ceph
changed_when: false
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'

View File

@ -36,4 +36,5 @@
- /var/lib/ceph
changed_when: false
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'

View File

@ -42,4 +42,5 @@
- /var/lib/ceph
changed_when: false
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'

View File

@ -35,4 +35,5 @@
- /var/lib/ceph
changed_when: false
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'

View File

@ -35,4 +35,5 @@
- /var/lib/ceph
changed_when: false
when:
- ansible_os_family == 'RedHat'
- sestatus.stdout != 'Disabled'