Make the ansible check diff run serial instead of parallel.

This commit is contained in:
Kevin Fenzi 2014-02-03 05:04:01 +00:00
parent 4a9ee86575
commit d83256b106
1 changed files with 1 additions and 5 deletions

View File

@ -18,8 +18,4 @@ for dir in ("hosts", "groups"):
playbookpath = os.path.join(path, file)
cmd = ("ansible-playbook", playbookpath, "--check", "--diff")
ansibleprocess = subprocess.Popen(cmd)
#
# Add this if you want to run them one at a time instead of all forked off in a bunch.
# ansibleprocess.communicate()
#
ansibleprocess.communicate()