mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1345 from guits/fix_1338
ceph-docker: fix bootstrap directories permissionspull/1391/head
commit
a711cfac1a
|
@ -7,7 +7,12 @@
|
|||
# file as a good configuration file when no variable in it.
|
||||
dummy:
|
||||
|
||||
|
||||
#ceph_docker_registry: docker.io
|
||||
#ceph_docker_enable_centos_extra_repo: false
|
||||
|
||||
# Set uid/gid to default '64045' for bootstrap directories.
|
||||
# '64045' is used for debian based distros. It must be set to 167 in case of rhel based distros.
|
||||
# These values have to be set according to the base OS used by the container image, NOT the host.
|
||||
#bootstrap_dirs_owner: "64045"
|
||||
#bootstrap_dirs_group: "64045"
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
---
|
||||
|
||||
ceph_docker_registry: docker.io
|
||||
ceph_docker_enable_centos_extra_repo: false
|
||||
|
||||
# Set uid/gid to default '64045' for bootstrap directories.
|
||||
# '64045' is used for debian based distros. It must be set to 167 in case of rhel based distros.
|
||||
# These values have to be set according to the base OS used by the container image, NOT the host.
|
||||
bootstrap_dirs_owner: "64045"
|
||||
bootstrap_dirs_group: "64045"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
- include: system_checks.yml
|
||||
|
||||
|
||||
- name: check if it is atomic host
|
||||
stat: path=/run/ostree-booted
|
||||
register: stat_ostree
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: "64045"
|
||||
group: "64045"
|
||||
owner: "{{ bootstrap_dirs_owner }}"
|
||||
group: "{{ bootstrap_dirs_group }}"
|
||||
mode: "0755"
|
||||
with_items:
|
||||
- /etc/ceph/
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: "64045"
|
||||
group: "64045"
|
||||
owner: "{{ bootstrap_dirs_owner }}"
|
||||
group: "{{ bootstrap_dirs_group }}"
|
||||
mode: "0755"
|
||||
with_items:
|
||||
- /etc/ceph/
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: "64045"
|
||||
group: "64045"
|
||||
owner: "{{ bootstrap_dirs_owner }}"
|
||||
group: "{{ bootstrap_dirs_group }}"
|
||||
mode: "0755"
|
||||
with_items:
|
||||
- /etc/ceph/
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: "64045"
|
||||
group: "64045"
|
||||
owner: "{{ bootstrap_dirs_owner }}"
|
||||
group: "{{ bootstrap_dirs_group }}"
|
||||
mode: "0755"
|
||||
with_items:
|
||||
- /etc/ceph/
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: "64045"
|
||||
group: "64045"
|
||||
owner: "{{ bootstrap_dirs_owner }}"
|
||||
group: "{{ bootstrap_dirs_group }}"
|
||||
mode: "0755"
|
||||
with_items:
|
||||
- /etc/ceph/
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: "64045"
|
||||
group: "64045"
|
||||
owner: "{{ bootstrap_dirs_owner }}"
|
||||
group: "{{ bootstrap_dirs_group }}"
|
||||
mode: "0755"
|
||||
with_items:
|
||||
- /etc/ceph/
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: "64045"
|
||||
group: "64045"
|
||||
owner: "{{ bootstrap_dirs_owner }}"
|
||||
group: "{{ bootstrap_dirs_group }}"
|
||||
mode: "0755"
|
||||
with_items:
|
||||
- /etc/ceph/
|
||||
|
|
Loading…
Reference in New Issue