From 93cba1fc6e7701f5b02b19218dff5f4cd2bbd727 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 (cherry picked from commit 97c7d26721894cfe12a5397c789b9da1ae2d1ab0) --- tripleo_common/inventory.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tripleo_common/inventory.py b/tripleo_common/inventory.py index 101aea710..3dbac4f88 100644 --- a/tripleo_common/inventory.py +++ b/tripleo_common/inventory.py @@ -403,7 +403,6 @@ def generate_tripleo_ansible_inventory(heat, auth, username=auth.user_name, 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)