diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-09 19:32:25 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-09 19:32:25 +0300 |
commit | f063175f53d2e6c25d9a039091a38acab7faf70f (patch) | |
tree | 0c0ece7454fe18de26d9fe9f0debb0cf4f5625fd /roles/pacman | |
parent | common: fix reboot module on Rasp. Pi 1 (diff) | |
download | maintenance-f063175f53d2e6c25d9a039091a38acab7faf70f.tar.gz maintenance-f063175f53d2e6c25d9a039091a38acab7faf70f.zip |
pacman: output changed packages
Diffstat (limited to 'roles/pacman')
-rw-r--r-- | roles/pacman/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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 |