From 7902803d37d20b49a031addf1eff7aff87c1fb24 Mon Sep 17 00:00:00 2001
From: Vladimir Still <git@vstill.eu>
Date: Sun, 7 Aug 2022 08:16:20 +0200
Subject: [PATCH] ansible: Fix plugin initialization

---
 ansible/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/ansible/Makefile b/ansible/Makefile
index 125a66d..752f4c1 100644
--- a/ansible/Makefile
+++ b/ansible/Makefile
@@ -11,10 +11,11 @@ $(PLAYBOOKS) : init-plugins
 
 paradise : pontos anna antea arke pythia
 
-init-plugins: _plugins_stamp/v2
+init-plugins: _plugins_stamp/v3
 
-_plugins_stamp/v2 :
-	ansible-galaxy collection install -U community.general
+_plugins_stamp/v3 :
+	ansible-galaxy collection install community.general
+	ansible-galaxy collection list | grep -q 'ansible\.posix' || ansible-galaxy collection install ansible.posix
 	mkdir -p _plugins_stamp
 	touch $@
 
-- 
GitLab