Remove old role path for launch node
We now are able to use the default path from ansible (~/.ansible/roles). Change-Id: If2d2712bc01ea8fcaaa3ad80f48b98abe73f0561 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
423975e547
commit
0bf2d68fa6
|
@ -94,12 +94,9 @@ def bootstrap_server(server, key, name, group, keep, timeout):
|
|||
project_dir = os.path.join(
|
||||
SCRIPT_DIR, '..', 'playbooks', 'bootstrap-ansible')
|
||||
|
||||
roles_path = os.path.join(
|
||||
SCRIPT_DIR, '..', 'playbooks', 'roles')
|
||||
|
||||
r = ansible_runner.run(
|
||||
private_data_dir=runner.root, playbook='site.yaml',
|
||||
project_dir=project_dir, roles_path=[roles_path])
|
||||
project_dir=project_dir)
|
||||
|
||||
if r.rc:
|
||||
raise Exception("Ansible runner failed")
|
||||
|
|
Loading…
Reference in New Issue