]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Do not change when adding the repo
authorleseb <seb@redhat.com>
Mon, 6 Jul 2015 15:03:31 +0000 (17:03 +0200)
committerleseb <seb@redhat.com>
Mon, 6 Jul 2015 15:03:31 +0000 (17:03 +0200)
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 <seb@redhat.com>
roles/ceph-common/tasks/prerequisite_rh_storage_cdn_install.yml

index 579afd6aaa137a21be1a9593b88dd4d4fda47f15..52f09f8147b63e72f0b70095cc48fa087e7abd2c 100644 (file)
@@ -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