aboutsummaryrefslogtreecommitdiff
path: root/roles/attackbox/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/attackbox/tasks')
-rw-r--r--roles/attackbox/tasks/apt_packages.yaml3
-rw-r--r--roles/attackbox/tasks/chrome_install.yaml1
2 files changed, 3 insertions, 1 deletions
diff --git a/roles/attackbox/tasks/apt_packages.yaml b/roles/attackbox/tasks/apt_packages.yaml
index 8910e04..3e118bc 100644
--- a/roles/attackbox/tasks/apt_packages.yaml
+++ b/roles/attackbox/tasks/apt_packages.yaml
@@ -2,4 +2,5 @@
apt:
name: "{{ apt_packages }}"
state: present
- update_cache: true \ No newline at end of file
+ update_cache: true
+ cache_valid_time: 86400
diff --git a/roles/attackbox/tasks/chrome_install.yaml b/roles/attackbox/tasks/chrome_install.yaml
index a237b81..1bf272f 100644
--- a/roles/attackbox/tasks/chrome_install.yaml
+++ b/roles/attackbox/tasks/chrome_install.yaml
@@ -16,6 +16,7 @@
- name: update apt cache
apt:
update_cache: true
+ cache_valid_time: 86400
- name: install google chrome
apt: