diff --git a/ansible/base.yml b/ansible/base.yml index dd36975..6804a12 100644 --- a/ansible/base.yml +++ b/ansible/base.yml @@ -17,6 +17,7 @@ become: true ansible.builtin.apt: update_cache: true + cache_valid_time: 3600 pkg: - git - wget diff --git a/ansible/roles/docker_compose/tasks/main.yml b/ansible/roles/docker_compose/tasks/main.yml index 8b6134e..196d6ab 100644 --- a/ansible/roles/docker_compose/tasks/main.yml +++ b/ansible/roles/docker_compose/tasks/main.yml @@ -7,5 +7,6 @@ become: true ansible.builtin.apt: update_cache: true + cache_valid_time: 3600 pkg: - docker-compose diff --git a/ansible/roles/ntp/tasks/main.yml b/ansible/roles/ntp/tasks/main.yml index 8093072..fc8c13d 100644 --- a/ansible/roles/ntp/tasks/main.yml +++ b/ansible/roles/ntp/tasks/main.yml @@ -7,6 +7,7 @@ become: true ansible.builtin.apt: update_cache: true + cache_valid_time: 3600 pkg: - ntp diff --git a/ansible/roles/ufw/tasks/main.yml b/ansible/roles/ufw/tasks/main.yml index 25399b1..fa5a70f 100644 --- a/ansible/roles/ufw/tasks/main.yml +++ b/ansible/roles/ufw/tasks/main.yml @@ -7,6 +7,7 @@ become: true ansible.builtin.apt: update_cache: true + cache_valid_time: 3600 pkg: - ufw