Make the ansible check diff run serial instead of parallel.
This commit is contained in:
parent
4a9ee86575
commit
d83256b106
1 changed files with 1 additions and 5 deletions
|
@ -18,8 +18,4 @@ for dir in ("hosts", "groups"):
|
||||||
playbookpath = os.path.join(path, file)
|
playbookpath = os.path.join(path, file)
|
||||||
cmd = ("ansible-playbook", playbookpath, "--check", "--diff")
|
cmd = ("ansible-playbook", playbookpath, "--check", "--diff")
|
||||||
ansibleprocess = subprocess.Popen(cmd)
|
ansibleprocess = subprocess.Popen(cmd)
|
||||||
|
ansibleprocess.communicate()
|
||||||
#
|
|
||||||
# Add this if you want to run them one at a time instead of all forked off in a bunch.
|
|
||||||
# ansibleprocess.communicate()
|
|
||||||
#
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue