From: leseb Date: Mon, 6 Jul 2015 16:22:01 +0000 (+0200) Subject: Ignore errors X-Git-Tag: v1.0.0~177^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F319%2Fhead;p=ceph-ansible.git Ignore errors If we don't ignore errors here, the node will get skipped for the rest of the playbook... Signed-off-by: leseb --- diff --git a/roles/ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml b/roles/ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml index ac7278c87..cfc3d245d 100644 --- a/roles/ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml +++ b/roles/ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml @@ -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