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
(cherry picked from commit 97c7d26721
)
This commit is contained in:
parent
759d2774a5
commit
93cba1fc6e
@ -403,7 +403,6 @@ def generate_tripleo_ansible_inventory(heat, auth,
|
|||||||
username=auth.user_name,
|
username=auth.user_name,
|
||||||
ansible_ssh_user=ansible_ssh_user,
|
ansible_ssh_user=ansible_ssh_user,
|
||||||
undercloud_key_file=undercloud_key_file,
|
undercloud_key_file=undercloud_key_file,
|
||||||
undercloud_connection=UNDERCLOUD_CONNECTION_SSH,
|
|
||||||
ansible_python_interpreter=ansible_python_interpreter,
|
ansible_python_interpreter=ansible_python_interpreter,
|
||||||
plan_name=plan,
|
plan_name=plan,
|
||||||
host_network=ssh_network)
|
host_network=ssh_network)
|
||||||
|
Loading…
Reference in New Issue
Block a user