From: Sébastien Han Date: Mon, 27 Jul 2015 15:48:04 +0000 (+0200) Subject: Fix wrong condition X-Git-Tag: v1.0.0~156^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F344%2Fhead;p=ceph-ansible.git Fix wrong condition We obviously want to fetch when the files exists :). Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-mds/tasks/docker.yml b/roles/ceph-mds/tasks/docker.yml index c77af3618..2707c4eb6 100644 --- a/roles/ceph-mds/tasks/docker.yml +++ b/roles/ceph-mds/tasks/docker.yml @@ -31,7 +31,7 @@ with_together: - ceph_config_keys - statconfig.results - when: item.1.stat.exists == False + when: item.1.stat.exists == true - name: run the ceph medata docker image docker: > diff --git a/roles/ceph-mon/tasks/docker.yml b/roles/ceph-mon/tasks/docker.yml index e531d520b..f3b818772 100644 --- a/roles/ceph-mon/tasks/docker.yml +++ b/roles/ceph-mon/tasks/docker.yml @@ -30,7 +30,7 @@ with_together: - ceph_config_keys - statconfig.results - when: item.1.stat.exists == False + when: item.1.stat.exists == true - name: run the ceph Monitor docker image docker: > diff --git a/roles/ceph-osd/tasks/scenarios/docker.yml b/roles/ceph-osd/tasks/scenarios/docker.yml index 6de81db7e..a9e7d0f64 100644 --- a/roles/ceph-osd/tasks/scenarios/docker.yml +++ b/roles/ceph-osd/tasks/scenarios/docker.yml @@ -31,7 +31,7 @@ with_together: - ceph_config_keys - statconfig.results - when: item.1.stat.exists == False + when: item.1.stat.exists == true - name: run the ceph osd docker image docker: > diff --git a/roles/ceph-restapi/tasks/docker.yml b/roles/ceph-restapi/tasks/docker.yml index 5c5839e66..268f82675 100644 --- a/roles/ceph-restapi/tasks/docker.yml +++ b/roles/ceph-restapi/tasks/docker.yml @@ -28,7 +28,7 @@ with_together: - ceph_config_keys - statconfig.results - when: item.1.stat.exists == False + when: item.1.stat.exists == true - name: run the ceph rest api docker image docker: > diff --git a/roles/ceph-rgw/tasks/docker.yml b/roles/ceph-rgw/tasks/docker.yml index 7d8716028..6445b7472 100644 --- a/roles/ceph-rgw/tasks/docker.yml +++ b/roles/ceph-rgw/tasks/docker.yml @@ -31,7 +31,7 @@ with_together: - ceph_config_keys - statconfig.results - when: item.1.stat.exists == False + when: item.1.stat.exists == true - name: run the rados gateway docker image docker: >