diff options
-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 |