templates/packer: retry subscribtion

This commit is contained in:
Sanne Raymaekers 2023-09-22 12:16:02 +02:00
parent e81183daa8
commit 9d7159dab3

View file

@ -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