diff --git a/roles/ceph-defaults/tasks/facts.yml b/roles/ceph-defaults/tasks/facts.yml index 5c6ec55a8..b2c9561ad 100644 --- a/roles/ceph-defaults/tasks/facts.yml +++ b/roles/ceph-defaults/tasks/facts.yml @@ -192,7 +192,14 @@ ceph_uid: 167 when: - containerized_deployment - - ceph_docker_image_tag | search("latest") or ceph_docker_image_tag | search("centos") or ceph_docker_image | search("rhceph") + - ceph_docker_image_tag | search("latest") or ceph_docker_image_tag | search("centos") or ceph_docker_image_tag | search("fedora") + +- name: set_fact ceph_uid for Red Hat + set_fact: + ceph_uid: 167 + when: + - containerized_deployment + - ceph_docker_image | search("rhceph") - name: check if selinux is enabled command: getenforce @@ -201,5 +208,3 @@ check_mode: no when: - ansible_os_family == 'RedHat' - -