aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/pacman/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/pacman/tasks/main.yml10
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