]> 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, 12 Dec 2017 08:02:37 +0000 (09:02 +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>
roles/ceph-defaults/tasks/facts.yml

index db5632e25a7988e84760b09249ff0b39fbb576c7..1ba8bf993f91bfa5ab9fec569c3a6010f5704234 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: