From 0de309e7a38b40e3a20b28827a5d128a3d7f69ae Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Fri, 5 Jun 2020 15:17:05 +0100 Subject: [PATCH] Always use the utility host for service setup tasks This used to be discretionary at the choice of the operator but making it the default gives certainty about the python version used and that suitable python modules are available for the interpreter used by ansible on the service setup host. Change-Id: Ib1160a4b84292595f18b5cb47e19e15c33b081ab --- playbooks/defaults/source_install.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/defaults/source_install.yml b/playbooks/defaults/source_install.yml index d0d1d9f0ac..79de357e20 100644 --- a/playbooks/defaults/source_install.yml +++ b/playbooks/defaults/source_install.yml @@ -26,3 +26,7 @@ repo_release_path: "{{ openstack_repo_url }}/os-releases/{{ openstack_release }} ## OpenStack source options openstack_repo_url: "http://{{ internal_lb_vip_address }}:{{ repo_server_port }}" openstack_repo_git_url: "git://{{ internal_lb_vip_address }}" + +## Delegate all service setup tasks to the utility host, and use the utility venv python interpreter +openstack_service_setup_host: "{{ groups['utility_all'][0] }}" +openstack_service_setup_host_python_interpreter: "/openstack/venvs/utility-{{ openstack_release }}/bin/python" \ No newline at end of file