summaryrefslogtreecommitdiff
path: root/roles/server
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-09-02 14:48:50 +0100
committerNick White <git@njw.name>2019-09-02 14:48:50 +0100
commit766142ad438f3bf2f0f486a6315ceb32ca9dc600 (patch)
tree6e63ffd77951623cd921bb75b1aaf8cf9fb23941 /roles/server
parent4ada6b33ccce63587a9e2cfff23b91a86ecd0b93 (diff)
Force apt-get when using package module, as otherwise it defaults to aptitude which isnt installed
Diffstat (limited to 'roles/server')
-rw-r--r--roles/server/tasks/update.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/server/tasks/update.yml b/roles/server/tasks/update.yml
index 99e0dcd..7a9b941 100644
--- a/roles/server/tasks/update.yml
+++ b/roles/server/tasks/update.yml
@@ -2,4 +2,4 @@
# Updates the image
- name: Update all packages
- package: name=* state=latest
+ package: name=* state=latest force_apt_get=yes