diff --git a/ansible/roles/trove/tasks/upgrade.yml b/ansible/roles/trove/tasks/upgrade.yml new file mode 100644 index 0000000000..ed97d539c0 --- /dev/null +++ b/ansible/roles/trove/tasks/upgrade.yml @@ -0,0 +1 @@ +--- diff --git a/ansible/roles/trove/templates/trove.conf.j2 b/ansible/roles/trove/templates/trove.conf.j2 index f978825d7c..6c97b89ae6 100644 --- a/ansible/roles/trove/templates/trove.conf.j2 +++ b/ansible/roles/trove/templates/trove.conf.j2 @@ -2,8 +2,11 @@ debug = {{ trove_logging_debug }} log_dir = /var/log/kolla/trove -port = {{ trove_api_port }} + host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} + +bind_port = {{ trove_api_port }} +bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} trove_api_workers = {{ openstack_service_workers }} auth_strategy = keystone