diff --git a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml index 715ae7920..b0a4dde03 100644 --- a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml +++ b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml @@ -224,9 +224,15 @@ ceph_uid: 64045 when: ceph_docker_image_tag | match("latest") or ceph_docker_image_tag | search("ubuntu") - - set_fact: + - name: set_fact ceph_uid for red hat + set_fact: ceph_uid: 167 - when: ceph_docker_image_tag | search("centos") or ceph_docker_image | search("rhceph") or ceph_docker_image_tag | search("fedora") + when: ceph_docker_image_tag | match("latest") or ceph_docker_image_tag | search("centos") or ceph_docker_image_tag | search("fedora") + + - name: set_fact ceph_uid for rhel + set_fact: + ceph_uid: 167 + when: ceph_docker_image | search("rhceph") - name: set proper ownership on ceph directories file: