2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 08:30:39 +00:00

[fix] playbooks path

This commit is contained in:
Rushabh Mehta 2016-03-15 12:30:02 +05:30
parent 0a80d0dfcf
commit f1be9f0eed

View File

@ -109,7 +109,7 @@ def run_playbook(playbook_name, sudo):
args = ["ansible-playbook", "-c", "local", playbook_name]
if sudo:
args.append('-K')
success = subprocess.check_call(args, cwd=os.path.join(bench_repo, 'bench', 'playbooks'))
success = subprocess.check_call(args, cwd=os.path.join(bench_repo, 'playbooks'))
return success
def parse_commandline_args():