summaryrefslogtreecommitdiff
path: root/roles/server
diff options
context:
space:
mode:
Diffstat (limited to 'roles/server')
-rw-r--r--roles/server/tasks/update.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/server/tasks/update.yml b/roles/server/tasks/update.yml
index 7a9b941..a5b0c84 100644
--- a/roles/server/tasks/update.yml
+++ b/roles/server/tasks/update.yml
@@ -1,5 +1,9 @@
---
# Updates the image
+- name: Update apt
+ apt:
+ update_cache: yes
+
- name: Update all packages
package: name=* state=latest force_apt_get=yes