diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-04 21:31:18 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-09-04 21:31:45 +0200 |
commit | e2d23269a1847107bda7918eeb24cf66b376c9ba (patch) | |
tree | ddeb9ab58df45cf0a975e554c7ee08c829b0ac8d /roles/pacman/handlers/main.yml | |
parent | v0.0.25 (diff) | |
download | infra-ansible-e2d23269a1847107bda7918eeb24cf66b376c9ba.tar.gz infra-ansible-e2d23269a1847107bda7918eeb24cf66b376c9ba.zip |
import roles etckeeper, pacman, rate_mirrors
Diffstat (limited to 'roles/pacman/handlers/main.yml')
-rw-r--r-- | roles/pacman/handlers/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/pacman/handlers/main.yml b/roles/pacman/handlers/main.yml new file mode 100644 index 0000000..ca9108b --- /dev/null +++ b/roles/pacman/handlers/main.yml @@ -0,0 +1,11 @@ +- name: Show upgraded packages + ansible.builtin.debug: + var: pacman_result.packages + listen: pacman_upgraded + +- name: Reboot + become: true + ansible.builtin.reboot: + # 3 minutes is plenty. + reboot_timeout: 180 + listen: pacman_upgraded |