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
Guillaume Abrioux 2019-02-14 15:36:27 +01:00 committed by Sébastien Han
parent e7034402a4
commit c98fd0b9e0
1 changed files with 2 additions and 1 deletions

View File

@ -212,7 +212,8 @@
ceph_uid: 167
when:
- 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
set_fact: