diff --git a/templates/packer/ansible/roles/common/tasks/subscribe.yml b/templates/packer/ansible/roles/common/tasks/subscribe.yml index 06f0d2170..6291bd7b2 100644 --- a/templates/packer/ansible/roles/common/tasks/subscribe.yml +++ b/templates/packer/ansible/roles/common/tasks/subscribe.yml @@ -7,6 +7,9 @@ community.general.redhat_subscription: activationkey: "{{ RH_ACTIVATION_KEY }}" org_id: "{{ RH_ORG_ID }}" + register: result + retries: 5 + until: result is success - name: Enable repo mgmt through subman become: yes