From 9062ea04823b0464280d0a6dcd2e67003ce0d2e1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 23 Aug 2023 21:35:30 +0200 Subject: properly prefix things --- roles/apt/handlers/main.yml | 1 + roles/apt/tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'roles/apt') diff --git a/roles/apt/handlers/main.yml b/roles/apt/handlers/main.yml index 81438db..354104a 100644 --- a/roles/apt/handlers/main.yml +++ b/roles/apt/handlers/main.yml @@ -3,3 +3,4 @@ ansible.builtin.reboot: # 3 minutes is plenty. reboot_timeout: 180 + listen: apt_reboot diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index 5d45adb..be4ab8e 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -4,7 +4,7 @@ install_recommends: false update_cache: true upgrade: dist - notify: Reboot + notify: apt_reboot - name: Reboot if necessary ansible.builtin.meta: flush_handlers @@ -14,7 +14,7 @@ ansible.builtin.apt: autoremove: true purge: true - notify: Reboot + notify: apt_reboot - name: Reboot if necessary ansible.builtin.meta: flush_handlers -- cgit v1.2.3