From c73872df3a632c62dca3412bfc079ed38497fc61 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 24 Sep 2019 12:29:58 +0000 Subject: [PATCH] misc/deb_unstable: Added updating of apt cache using handler --- roles/misc/deb_unstable/meta/main.yml | 3 +++ roles/misc/deb_unstable/tasks/main.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/roles/misc/deb_unstable/meta/main.yml b/roles/misc/deb_unstable/meta/main.yml index 611d474..5c0ec93 100644 --- a/roles/misc/deb_unstable/meta/main.yml +++ b/roles/misc/deb_unstable/meta/main.yml @@ -1,3 +1,6 @@ --- allow_duplicates: no + +dependencies: + - misc/handlers \ No newline at end of file diff --git a/roles/misc/deb_unstable/tasks/main.yml b/roles/misc/deb_unstable/tasks/main.yml index 26266da..71ad950 100644 --- a/roles/misc/deb_unstable/tasks/main.yml +++ b/roles/misc/deb_unstable/tasks/main.yml @@ -7,6 +7,7 @@ group: root mode: "u=rw,g=r,o=r" content: "deb http://deb.debian.org/debian/ unstable main" + notify: update apt cache - name: Restrict unstable for apt copy: @@ -18,3 +19,4 @@ Package: * Pin: release a=unstable Pin-Priority: 90 + notify: update apt cache