Skip to content

Commit

Permalink
Add retries with random delay to route53 task
Browse files Browse the repository at this point in the history
  • Loading branch information
fridim committed Dec 3, 2024
1 parent b652672 commit 1e4ce1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions playbooks/roles/infra-aws-sandbox/tasks/route53.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
ttl: 600
value: "{{ ns_records }}"
overwrite: true
register: _route53zoneNS
retries: 5
delay: "{{ 60|random(start=3, step=1) }}"
until: _route53zoneNS is succeededNS

- name: Add HostedZoneId to the report
lineinfile:
Expand Down

0 comments on commit 1e4ce1b

Please sign in to comment.