From: Zack Cerza Date: Tue, 5 May 2015 22:49:02 +0000 (-0600) Subject: Retry subscription-manager register X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b8a3ea7f5b514079bbed2d9bac5a04afa1e26651;p=ceph-cm-ansible.git Retry subscription-manager register Because of: https://bugzilla.redhat.com/show_bug.cgi?id=1218804 Signed-off-by: Zack Cerza --- diff --git a/roles/common/tasks/rhel-entitlements.yml b/roles/common/tasks/rhel-entitlements.yml index b61c7a7..745e6ac 100644 --- a/roles/common/tasks/rhel-entitlements.yml +++ b/roles/common/tasks/rhel-entitlements.yml @@ -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 '*'