Added preliminary support for --sudo to ansible, playbook support and further testing pending.

reviewable/pr18780/r1
Michael DeHaan 13 years ago
parent f8a51437f3
commit 2e060c537f

@ -79,9 +79,7 @@ elif state == "restarted":
# run change commands if we need to
def _run(cmd):
return subprocess.call(cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE, shell=True)
return subprocess.call(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
rc = 0
if changed:

Loading…
Cancel
Save