aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-08 22:30:18 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-08 22:32:17 +0200
commit95a082d3c771fbe9a380f10280134406b7dc3f93 (patch)
tree308e62d6d22532d8e7a6406fe3846842d52c19f2 /roles/apt/tasks/main.yml
parentadd firewall role (diff)
downloadinfra-ansible-95a082d3c771fbe9a380f10280134406b7dc3f93.tar.gz
infra-ansible-95a082d3c771fbe9a380f10280134406b7dc3f93.zip
firewall: reboot on rule changes
Just restaring netfilter-persistent could break other services depending on iptables, like Docker. Also, I'm not sure why I need a wait_for_connection after a reboot call, so get rid of those.
Diffstat (limited to '')
-rw-r--r--roles/apt/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml
index 63f3ed7..1d07a7f 100644
--- a/roles/apt/tasks/main.yml
+++ b/roles/apt/tasks/main.yml
@@ -4,7 +4,7 @@
install_recommends: false
update_cache: true
upgrade: dist
- notify: reboot
+ notify: Reboot
- name: Reboot if necessary
ansible.builtin.meta: flush_handlers
@@ -14,7 +14,7 @@
ansible.builtin.apt:
autoremove: true
purge: true
- notify: reboot
+ notify: Reboot
- name: Reboot if necessary
ansible.builtin.meta: flush_handlers