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-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F568%2Fhead;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 de48e976..a280dfdc 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