fix: retry to apply fw rules

This commit is contained in:
Clément Désiles
2025-12-09 00:28:16 +01:00
parent 1e7f05a29e
commit 9b08cf95eb
8 changed files with 37 additions and 0 deletions
+8
View File
@@ -53,6 +53,10 @@
port: "80"
proto: tcp
comment: Nginx HTTP
retries: 5
delay: 2
register: ufw_result
until: ufw_result is succeeded
- name: Allow HTTPS traffic through firewall
community.general.ufw:
@@ -60,6 +64,10 @@
port: "443"
proto: tcp
comment: Nginx HTTPS
retries: 5
delay: 2
register: ufw_result
until: ufw_result is succeeded
- name: Enable and start nginx service
ansible.builtin.systemd: