aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/firewall
diff options
context:
space:
mode:
Diffstat (limited to 'roles/firewall')
-rw-r--r--roles/firewall/handlers/main.yml1
-rw-r--r--roles/firewall/tasks/file.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/firewall/handlers/main.yml b/roles/firewall/handlers/main.yml
index 81438db..0a0fcad 100644
--- a/roles/firewall/handlers/main.yml
+++ b/roles/firewall/handlers/main.yml
@@ -3,3 +3,4 @@
ansible.builtin.reboot:
# 3 minutes is plenty.
reboot_timeout: 180
+ listen: firewall_reboot
diff --git a/roles/firewall/tasks/file.yml b/roles/firewall/tasks/file.yml
index 5675276..5f4bb08 100644
--- a/roles/firewall/tasks/file.yml
+++ b/roles/firewall/tasks/file.yml
@@ -36,7 +36,7 @@
owner: root
group: root
mode: '640'
- notify: Reboot
+ notify: firewall_reboot
- name: Remove temporary file
become: true