]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Retry subscription-manager register 21/head
authorZack Cerza <zack@redhat.com>
Tue, 5 May 2015 22:49:02 +0000 (16:49 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 5 May 2015 23:42:04 +0000 (17:42 -0600)
Because of: https://bugzilla.redhat.com/show_bug.cgi?id=1218804

Signed-off-by: Zack Cerza <zack@redhat.com>
roles/common/tasks/rhel-entitlements.yml

index b61c7a7e6470fe3d55fdb29b29159750ae5c7816..745e6ac0e3c2394576ef7b73c71dcfa83a062c2b 100644 (file)
@@ -22,6 +22,9 @@
   when: subscription is defined and
         subscription.rc != 0
   register: entitled
+  until: entitled|success
+  retries: 5
+  delay: 10
 
 - name: disable all rhsm repos
   command: subscription-manager repos --disable '*'