fix: retry to apply fw rules
This commit is contained in:
@@ -66,6 +66,10 @@
|
||||
direction: in
|
||||
comment: "PostgreSQL"
|
||||
loop: "{{ postgres_firewall_allowed_sources }}"
|
||||
retries: 5
|
||||
delay: 2
|
||||
register: ufw_result
|
||||
until: ufw_result is succeeded
|
||||
|
||||
- name: Enable and start PostgreSQL service
|
||||
ansible.builtin.systemd:
|
||||
|
||||
Reference in New Issue
Block a user