mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1962 from ceph/fix_mgr_sestatus
[skip ci] mgr: add condition to run selinux tasks only on rhel os familypull/1964/head v3.0.0rc13
commit
deb5d3ba1f
|
@ -34,4 +34,6 @@
|
||||||
- "{{ ceph_conf_key_directory }}"
|
- "{{ ceph_conf_key_directory }}"
|
||||||
- /var/lib/ceph
|
- /var/lib/ceph
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: sestatus.stdout != 'Disabled'
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
|
- sestatus.stdout != 'Disabled'
|
||||||
|
|
|
@ -49,4 +49,6 @@
|
||||||
- "{{ ceph_conf_key_directory }}"
|
- "{{ ceph_conf_key_directory }}"
|
||||||
- /var/lib/ceph
|
- /var/lib/ceph
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: sestatus.stdout != 'Disabled'
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
|
- sestatus.stdout != 'Disabled'
|
||||||
|
|
|
@ -72,4 +72,5 @@
|
||||||
- /var/lib/ceph
|
- /var/lib/ceph
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
- sestatus.stdout != 'Disabled'
|
- sestatus.stdout != 'Disabled'
|
||||||
|
|
|
@ -36,4 +36,5 @@
|
||||||
- /var/lib/ceph
|
- /var/lib/ceph
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
- sestatus.stdout != 'Disabled'
|
- sestatus.stdout != 'Disabled'
|
||||||
|
|
|
@ -36,4 +36,5 @@
|
||||||
- /var/lib/ceph
|
- /var/lib/ceph
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
- sestatus.stdout != 'Disabled'
|
- sestatus.stdout != 'Disabled'
|
||||||
|
|
|
@ -42,4 +42,5 @@
|
||||||
- /var/lib/ceph
|
- /var/lib/ceph
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
- sestatus.stdout != 'Disabled'
|
- sestatus.stdout != 'Disabled'
|
||||||
|
|
|
@ -35,4 +35,5 @@
|
||||||
- /var/lib/ceph
|
- /var/lib/ceph
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
- sestatus.stdout != 'Disabled'
|
- sestatus.stdout != 'Disabled'
|
||||||
|
|
|
@ -35,4 +35,5 @@
|
||||||
- /var/lib/ceph
|
- /var/lib/ceph
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
- sestatus.stdout != 'Disabled'
|
- sestatus.stdout != 'Disabled'
|
||||||
|
|
Loading…
Reference in New Issue