Browse Source

Merge "Support OS_AUTH_TYPE=none in inventory module"

changes/34/771034/73
Zuul 8 months ago
committed by Gerrit Code Review
parent
commit
903834017d
  1. 13
      tripleo_ansible/ansible_plugins/modules/tripleo_generate_ansible_inventory.py

13
tripleo_ansible/ansible_plugins/modules/tripleo_generate_ansible_inventory.py

@ -125,12 +125,17 @@ def run_module():
tripleo = tc.TripleOCommon(session=conn.session)
heat = tripleo.get_orchestration_client()
auth_url = getattr(conn.session.auth, "auth_url", None)
username = getattr(conn.session.auth, "_username", None)
project = getattr(conn.session.auth, "_project_name", None)
cacert = getattr(conn.session.auth, "verify", None)
inventory_path = inventory.generate_tripleo_ansible_inventory(
heat,
conn.session.auth.auth_url,
conn.session.auth._username,
conn.session.auth._project_name,
conn.session.verify,
auth_url,
username,
project,
cacert,
plan,
work_dir,
python_interpretor,

Loading…
Cancel
Save