From 386303d42ef20c380e78d052d53a2da1657de2c2 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Mon, 21 Aug 2017 18:32:08 +0200 Subject: [PATCH] Extend set_uid fact to support RH Ceph images --- ...n-containerized-to-containerized-ceph-daemons.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 adee1e971..1415bad11 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 @@ -128,7 +128,7 @@ - set_fact: ceph_uid: 167 - when: ceph_docker_image_tag | search("centos") + when: ceph_docker_image_tag | search("centos") or ceph_docker_image | search("rhceph") - set_fact: ceph_uid: 167 @@ -206,7 +206,7 @@ - set_fact: ceph_uid: 167 - when: ceph_docker_image_tag | search("centos") + when: ceph_docker_image_tag | search("centos") or ceph_docker_image | search("rhceph") - set_fact: ceph_uid: 167 @@ -289,7 +289,7 @@ - set_fact: ceph_uid: 167 - when: ceph_docker_image_tag | search("centos") + when: ceph_docker_image_tag | search("centos") or ceph_docker_image | search("rhceph") - set_fact: ceph_uid: 167 @@ -340,7 +340,7 @@ - set_fact: ceph_uid: 167 - when: ceph_docker_image_tag | search("centos") + when: ceph_docker_image_tag | search("centos") or ceph_docker_image | search("rhceph") - set_fact: ceph_uid: 167 @@ -392,7 +392,7 @@ - set_fact: ceph_uid: 167 - when: ceph_docker_image_tag | search("centos") + when: ceph_docker_image_tag | search("centos") or ceph_docker_image | search("rhceph") - set_fact: ceph_uid: 167 @@ -442,7 +442,7 @@ - set_fact: ceph_uid: 167 - when: ceph_docker_image_tag | search("centos") + when: ceph_docker_image_tag | search("centos") or ceph_docker_image | search("rhceph") - set_fact: ceph_uid: 167