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])