From: David Galloway Date: Wed, 29 Apr 2020 18:44:06 +0000 (-0400) Subject: common: Retries does nothing without until X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=43592907edc18f9edc0e778da37b94c079058bef;p=ceph-cm-ansible.git common: Retries does nothing without until Signed-off-by: David Galloway --- diff --git a/roles/common/tasks/rhel-entitlements.yml b/roles/common/tasks/rhel-entitlements.yml index de48e97..a280dfd 100644 --- a/roles/common/tasks/rhel-entitlements.yml +++ b/roles/common/tasks/rhel-entitlements.yml @@ -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