mirror of https://github.com/ceph/ceph-ansible.git
config: use fact `ceph_uid`
Use fact `ceph_uid` in the task which ensures `/etc/ceph` exists in containerized deployments. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/2494/head
parent
9c979c6390
commit
18c0c7a508
|
@ -77,11 +77,9 @@
|
|||
file:
|
||||
path: /etc/ceph
|
||||
state: directory
|
||||
owner: 'ceph'
|
||||
group: 'ceph'
|
||||
owner: "{{ ceph_uid }}"
|
||||
group: "{{ ceph_uid }}"
|
||||
mode: 0755
|
||||
when:
|
||||
- groups.get(mon_group_name, []) | length == 0
|
||||
|
||||
- name: "generate {{ cluster }}.conf configuration file"
|
||||
action: config_template
|
||||
|
|
Loading…
Reference in New Issue