]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
defaults: fix CI issue with ceph_uid fact
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 11 Dec 2017 17:48:13 +0000 (18:48 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 19 Dec 2017 12:41:50 +0000 (13:41 +0100)
The CI complains because of `ceph_uid` fact which doesn't exist since
the docker image tag used in the CI doesn't match with this condition.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 6a9b5c9632a39d290ebf707a21e98f17b064f198)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-defaults/tasks/facts.yml

index 31edb520dd99c45d9f195886cb9d90da910f5e0e..0bf15683182452f429f79cc15a28a953312e3194 100644 (file)
     ceph_uid: 64045
   when:
     - containerized_deployment
-    - ceph_docker_image_tag | match("latest") or ceph_docker_image_tag | search("ubuntu")
+    - ceph_docker_image_tag | search("latest") or ceph_docker_image_tag | search("ubuntu")
 
 - name: set_fact ceph_uid for Red Hat based system
   set_fact: