From 6cda705c43c673fbb8fe6e274eda328ac692bf1c Mon Sep 17 00:00:00 2001 From: leseb Date: Mon, 6 Jul 2015 17:03:31 +0200 Subject: [PATCH] Do not change when adding the repo Since the command is indempotent we don't need to check if the repo is enabled as it will likely take twice the time. 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 579afd6aa..52f09f814 100644 --- a/roles/ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml +++ b/roles/ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml @@ -6,12 +6,15 @@ - name: enable red hat storage monitor repository command: subscription-manager repos --enable rhel-7-server-rhceph-1.3-mon-rpms + changed_when: false when: mon_group_name in group_names - name: enable red hat storage osd repository command: subscription-manager repos --enable rhel-7-server-rhceph-1.3-osd-rpms + changed_when: false when: osd_group_name in group_names - name: enable red hat storage rados gateway repository command: subscription-manager repos --enable rhel-7-server-rhceph-1.3-tools-rpms + changed_when: false when: rgw_group_name in group_names -- 2.39.5