mirror of https://github.com/ceph/ceph-ansible.git
facts: ensure ceph_uid is set when running rhel
when hosts is running on RHEL, let's enforce ceph_uid to 167. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/3620/head
parent
e7034402a4
commit
c98fd0b9e0
|
@ -212,7 +212,8 @@
|
||||||
ceph_uid: 167
|
ceph_uid: 167
|
||||||
when:
|
when:
|
||||||
- containerized_deployment
|
- containerized_deployment
|
||||||
- ceph_docker_image_tag | string is search("latest") or ceph_docker_image_tag | string is search("centos") or ceph_docker_image_tag | string is search("fedora")
|
- (ceph_docker_image_tag | string is search("latest") or ceph_docker_image_tag | string is search("centos") or ceph_docker_image_tag | string is search("fedora")
|
||||||
|
or (ansible_distribution == 'RedHat'))
|
||||||
|
|
||||||
- name: set_fact ceph_uid for red hat
|
- name: set_fact ceph_uid for red hat
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|
Loading…
Reference in New Issue