Set undercloud ansible_connection to local

The Ansible undercloud connection defaults to local but
the inventory object constructor overrode it to SSH for
Mistral. Now that Mistral has been removed we can remove
the override and use local. This also avoids permission
conflicts between the default ansible_ssh_user and the
user running the playbook as per the bug this patch
closes.

Change-Id: Iac7c15572f83e77241bbc1469d3e3debc8ac011b
Closes-Bug:  #1884123
This commit is contained in:
John Fulton 2020-06-18 19:05:59 +00:00
parent 50de0891fb
commit 97c7d26721
1 changed files with 0 additions and 1 deletions

View File

@ -405,7 +405,6 @@ def generate_tripleo_ansible_inventory(heat, auth_url,
cacert=cacert,
ansible_ssh_user=ansible_ssh_user,
undercloud_key_file=undercloud_key_file,
undercloud_connection=UNDERCLOUD_CONNECTION_SSH,
ansible_python_interpreter=ansible_python_interpreter,
plan_name=plan,
host_network=ssh_network)