From 35289257fc7c676559b62c0261cf7094fc84236b Mon Sep 17 00:00:00 2001 From: Olivier Navas Date: Mon, 28 Oct 2024 16:52:41 +0100 Subject: [PATCH] Correction runPulledAnsiblePlaybook --- linuxinstaller/AnsibleActions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxinstaller/AnsibleActions.py b/linuxinstaller/AnsibleActions.py index 565876c..4a3b5d9 100644 --- a/linuxinstaller/AnsibleActions.py +++ b/linuxinstaller/AnsibleActions.py @@ -36,7 +36,7 @@ def runLocalAnsiblePlaybook(playbook, chdir, extra_vars={}): def runPulledAnsiblePlaybook(playbook, url, extra_vars={}): if len(extra_vars) > 0: - subprocess.check_call(['ansible-playbook', playbook, + subprocess.check_call(['ansible-pull', '-U', url, playbook, '--extra-vars', json.dumps(extra_vars) ]) else: subprocess.check_call(['ansible-pull', '-U', url, playbook])