From eba8fd58b8bc8de7233e9e99c3108aa8cc8c3e28 Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Fri, 15 Nov 2024 16:38:24 +0100 Subject: [PATCH] Better OS detection --- tasks/main2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main2.yml b/tasks/main2.yml index e58f816..bceadb5 100644 --- a/tasks/main2.yml +++ b/tasks/main2.yml @@ -1,6 +1,6 @@ --- - include_tasks: apt_cache.yml - when: ansible_pkg_mgr == 'apt' and noobient_apt_cache_updated is not defined + when: ansible_os_family == 'Debian' and noobient_apt_cache_updated is not defined - include_tasks: deps.yml when: installed_acme_deps is not defined