]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
common: Retries does nothing without until 568/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 29 Apr 2020 18:44:06 +0000 (14:44 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 29 Apr 2020 18:44:06 +0000 (14:44 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/common/tasks/rhel-entitlements.yml

index de48e976540e85c8e300a2876faf42c2267aee7c..a280dfdc154bcf7228a7d9c41882399f3849a6a7 100644 (file)
@@ -96,6 +96,8 @@
 - name: Set release number
   command: "subscription-manager release --set={{ ansible_distribution_version }}"
   when: rhsm_registered == true
+  register: release_set
+  until: release_set is success
   retries: 5
   delay: 10