From 766142ad438f3bf2f0f486a6315ceb32ca9dc600 Mon Sep 17 00:00:00 2001
From: Nick White <git@njw.name>
Date: Mon, 2 Sep 2019 14:48:50 +0100
Subject: Force apt-get when using package module, as otherwise it defaults to
 aptitude which isnt installed

---
 roles/server/tasks/update.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'roles')

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
-- 
cgit v1.2.1-24-ge1ad