diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-09 13:22:10 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-09 13:22:10 +0300 |
commit | 11f28355acef3c31f9da2a83bc309e6b33afab99 (patch) | |
tree | 7356204aa54ff07a0ee78db4614c03787288e0ca | |
parent | workflows/run: add hosts filtering (diff) | |
download | maintenance-11f28355acef3c31f9da2a83bc309e6b33afab99.tar.gz maintenance-11f28355acef3c31f9da2a83bc309e6b33afab99.zip |
flush_handlers where needed
-rw-r--r-- | roles/apt/tasks/main.yml | 8 | ||||
-rw-r--r-- | roles/pacman/tasks/main.yml | 6 |
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 |