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:
Paul Belanger 2019-03-01 08:47:01 -05:00
parent 423975e547
commit 0bf2d68fa6
1 changed files with 1 additions and 4 deletions

View File

@ -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")