mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #619 from dpkshetty/osd_selinux_permissive
ceph-osd: Set selinux to permissivepull/634/head
commit
020bc226b0
|
@ -41,6 +41,16 @@
|
||||||
- include: osd_fragment.yml
|
- include: osd_fragment.yml
|
||||||
when: crush_location
|
when: crush_location
|
||||||
|
|
||||||
|
- name: set selinux to permissive and make it persistent
|
||||||
|
selinux:
|
||||||
|
policy: targeted
|
||||||
|
state: permissive
|
||||||
|
when:
|
||||||
|
ansible_selinux != false and
|
||||||
|
ansible_selinux['status'] == 'enabled' and
|
||||||
|
ansible_selinux['config_mode'] != 'disabled' and
|
||||||
|
not is_ceph_infernalis
|
||||||
|
|
||||||
- name: start and add that the osd service(s) to the init sequence (before infernalis)
|
- name: start and add that the osd service(s) to the init sequence (before infernalis)
|
||||||
service:
|
service:
|
||||||
name: ceph
|
name: ceph
|
||||||
|
|
Loading…
Reference in New Issue