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
Guillaume Abrioux 2018-04-03 13:41:07 +02:00 committed by Sébastien Han
parent 9c979c6390
commit 18c0c7a508
1 changed files with 2 additions and 4 deletions

View File

@ -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