From f063175f53d2e6c25d9a039091a38acab7faf70f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 9 Aug 2021 19:32:25 +0300 Subject: pacman: output changed packages --- roles/pacman/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml index 5ebe638..37885f3 100644 --- a/roles/pacman/tasks/main.yml +++ b/roles/pacman/tasks/main.yml @@ -11,8 +11,13 @@ community.general.pacman: update_cache: yes upgrade: yes + register: pacman_result notify: reboot + - debug: + var: pacman_result.packages + when: pacman_result.changed + - name: Flush handlers meta: flush_handlers rescue: @@ -48,7 +53,12 @@ community.general.pacman: update_cache: yes upgrade: yes + register: pacman_result notify: reboot + - debug: + var: pacman_result.packages + when: pacman_result.changed + - name: Flush handlers meta: flush_handlers -- cgit v1.2.3