From e960234b94f265985090e3a2d1e77fa42ebfc648 Mon Sep 17 00:00:00 2001 From: William Walter Date: Thu, 25 Oct 2018 15:57:25 -0400 Subject: [PATCH] make cache_valid_time default omit for non-apt OSes --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 3b2518b..7168c9c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -4,7 +4,7 @@ package: name: "{{nessus_agent_package}}" update_cache: yes - cache_valid_time: "{{apt_cache_valid_time | default (3600)}}" + cache_valid_time: "{{apt_cache_valid_time | default (omit)}}" when: "'.deb' not in nessus_agent_package" - name: Install Nessus Agent from .deb package