Correction runPulledAnsiblePlaybook
This commit is contained in:
parent
8e30083bc7
commit
35289257fc
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue