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
This commit is contained in:
Jonathan Rosser 2020-06-05 15:17:05 +01:00
parent 4f5816fc51
commit 0de309e7a3

View File

@ -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"