summaryrefslogtreecommitdiff
path: root/roles/common/tasks
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-06-24 03:35:06 -0400
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-06-24 03:35:06 -0400
commit6a97cfb055ffc97a18432a225d7a4ecc4bc5f4c7 (patch)
treec5b5df966b788d70895fa75da5655c44b54f9075 /roles/common/tasks
parent9ac6be27c5a2e32fe3770590283cfc6b1b7dfe8b (diff)
downloadoldinfra-6a97cfb055ffc97a18432a225d7a4ecc4bc5f4c7.tar.gz
oldinfra-6a97cfb055ffc97a18432a225d7a4ecc4bc5f4c7.zip
internal mmt domain
Diffstat (limited to 'roles/common/tasks')
-rw-r--r--roles/common/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml
index 87c3bb8..0250ef3 100644
--- a/roles/common/tasks/main.yml
+++ b/roles/common/tasks/main.yml
@@ -19,7 +19,13 @@
- systemd-timesyncd
state: latest
update_cache: yes
+
+- name: Update and upgrade apt packages
+ become: true
+ apt:
upgrade: yes
+ update_cache: yes
+ cache_valid_time: 86400 #One day
- name: enable systemd-timesyncd
ansible.builtin.systemd_service: