From b3e8f48d717a4fc046d91dd54df1d9b17177b3a3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 29 Aug 2023 21:04:54 +0200 Subject: apt_repo: run apt update on key changes as well --- roles/apt_repo/handlers/main.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/apt_repo/handlers/main.yml (limited to 'roles/apt_repo/handlers') diff --git a/roles/apt_repo/handlers/main.yml b/roles/apt_repo/handlers/main.yml new file mode 100644 index 0000000..384682b --- /dev/null +++ b/roles/apt_repo/handlers/main.yml @@ -0,0 +1,5 @@ +- name: Refresh apt repositories + become: true + ansible.builtin.apt: + update_cache: true + listen: apt_repo_update -- cgit v1.2.3