From 52ddb461b67cf1a23fa355f473e0c99df30c2eb9 Mon Sep 17 00:00:00 2001 From: leseb Date: Mon, 6 Jul 2015 18:22:01 +0200 Subject: [PATCH] Ignore errors If we don't ignore errors here, the node will get skipped for the rest of the playbook... Signed-off-by: leseb --- .../ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.47.3