mirror of https://github.com/ceph/ceph-ansible.git
commit
b0f81d4a11
|
@ -9,5 +9,8 @@
|
|||
when: ceph_health.rc != 0
|
||||
|
||||
- include: pre_requisite.yml
|
||||
- include: selinux.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- include: fetch_configs.yml
|
||||
- include: start_docker_mds.yml
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: check if selinux is enabled
|
||||
command: getenforce
|
||||
register: sestatus
|
||||
changed_when: false
|
||||
|
||||
- name: set selinux permissions
|
||||
shell: chcon -Rt svirt_sandbox_file_t {{ item }}
|
||||
with_items:
|
||||
- /etc/ceph
|
||||
- /var/lib/ceph
|
||||
changed_when: false
|
||||
when: sestatus.stdout != 'Disabled'
|
|
@ -9,6 +9,9 @@
|
|||
when: ceph_health.rc != 0
|
||||
|
||||
- include: pre_requisite.yml
|
||||
- include: selinux.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- include: fetch_configs.yml
|
||||
- include: start_docker_monitor.yml
|
||||
- include: copy_configs.yml
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: check if selinux is enabled
|
||||
command: getenforce
|
||||
register: sestatus
|
||||
changed_when: false
|
||||
|
||||
- name: set selinux permissions
|
||||
shell: chcon -Rt svirt_sandbox_file_t {{ item }}
|
||||
with_items:
|
||||
- /etc/ceph
|
||||
- /var/lib/ceph
|
||||
changed_when: false
|
||||
when: sestatus.stdout != 'Disabled'
|
|
@ -9,5 +9,8 @@
|
|||
when: ceph_health.rc != 0
|
||||
|
||||
- include: pre_requisite.yml
|
||||
- include: selinux.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- include: fetch_configs.yml
|
||||
- include: start_docker_osd.yml
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: check if selinux is enabled
|
||||
command: getenforce
|
||||
register: sestatus
|
||||
changed_when: false
|
||||
|
||||
- name: set selinux permissions
|
||||
shell: chcon -Rt svirt_sandbox_file_t {{ item }}
|
||||
with_items:
|
||||
- /etc/ceph
|
||||
- /var/lib/ceph
|
||||
changed_when: false
|
||||
when: sestatus.stdout != 'Disabled'
|
|
@ -9,5 +9,8 @@
|
|||
when: ceph_health.rc != 0
|
||||
|
||||
- include: pre_requisite.yml
|
||||
- include: selinux.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- include: fetch_configs.yml
|
||||
- include: start_docker_rgw.yml
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: check if selinux is enabled
|
||||
command: getenforce
|
||||
register: sestatus
|
||||
changed_when: false
|
||||
|
||||
- name: set selinux permissions
|
||||
shell: chcon -Rt svirt_sandbox_file_t {{ item }}
|
||||
with_items:
|
||||
- /etc/ceph
|
||||
- /var/lib/ceph
|
||||
changed_when: false
|
||||
when: sestatus.stdout != 'Disabled'
|
Loading…
Reference in New Issue