From 97c7d26721894cfe12a5397c789b9da1ae2d1ab0 Mon Sep 17 00:00:00 2001 From: John Fulton Date: Thu, 18 Jun 2020 19:05:59 +0000 Subject: [PATCH] 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 --- tripleo_common/inventory.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tripleo_common/inventory.py b/tripleo_common/inventory.py index ebe08f275..2ad7b7028 100644 --- a/tripleo_common/inventory.py +++ b/tripleo_common/inventory.py @@ -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)