]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Ignore errors 319/head
authorleseb <seb@redhat.com>
Mon, 6 Jul 2015 16:22:01 +0000 (18:22 +0200)
committerleseb <seb@redhat.com>
Mon, 6 Jul 2015 16:22:01 +0000 (18:22 +0200)
If we don't ignore errors here, the node will get skipped for the rest
of the playbook...

Signed-off-by: leseb <seb@redhat.com>
roles/ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml

index ac7278c87e005f2926a571004ba64cae05f340ae..cfc3d245de96e7531a09714c19fcda52ef4403b4 100644 (file)
@@ -7,6 +7,7 @@
 - name: check if the red hat storage monitor repo is already present
   shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-1.3-mon-rpms
   changed_when: false
+  ignore_errors: true
   register: rh_storage_mon_repo
   when: mon_group_name in group_names
 
@@ -20,6 +21,7 @@
 - name: check if the red hat storage osd repo is already present
   shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-1.3-osd-rpms
   changed_when: false
+  ignore_errors: true
   register: rh_storage_osd_repo
   when: osd_group_name in group_names
 
@@ -33,6 +35,7 @@
 - name: check if the red hat storage rados gateway repo is already present
   shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-1.3-tools-rpms
   changed_when: false
+  ignore_errors: true
   register: rh_storage_rgw_repo
   when: rgw_group_name in group_names