aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-09 13:22:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-09 13:22:10 +0300
commit11f28355acef3c31f9da2a83bc309e6b33afab99 (patch)
tree7356204aa54ff07a0ee78db4614c03787288e0ca /roles
parentworkflows/run: add hosts filtering (diff)
downloadmaintenance-11f28355acef3c31f9da2a83bc309e6b33afab99.tar.gz
maintenance-11f28355acef3c31f9da2a83bc309e6b33afab99.zip
flush_handlers where needed
Diffstat (limited to 'roles')
-rw-r--r--roles/apt/tasks/main.yml8
-rw-r--r--roles/pacman/tasks/main.yml6
2 files changed, 13 insertions, 1 deletions
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml
index 2d31607..f00d4fd 100644
--- a/roles/apt/tasks/main.yml
+++ b/roles/apt/tasks/main.yml
@@ -14,7 +14,10 @@
notify:
- Reboot
- Wait for connectivity
-
+
+ - name: Flush handlers
+ meta: flush_handlers
+
- name: Clean up dependencies
apt:
autoremove: yes
@@ -22,3 +25,6 @@
notify:
- Reboot
- Wait for connectivity
+
+ - name: Flush handlers
+ meta: flush_handlers
diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml
index 64f2e4b..fe56fea 100644
--- a/roles/pacman/tasks/main.yml
+++ b/roles/pacman/tasks/main.yml
@@ -15,6 +15,9 @@
notify:
- Reboot
- Wait for connectivity
+
+ - name: Flush handlers
+ meta: flush_handlers
rescue:
- fail:
msg: Upgrading packages failed for an unknown reason!
@@ -47,3 +50,6 @@
notify:
- Reboot
- Wait for connectivity
+
+ - name: Flush handlers
+ meta: flush_handlers