1d9e8fc976
Previously, the external network carried both public API traffic and neutron external network traffic. In some cases is it useful to separate these networks. The public network now carries the public API traffic, leaving the external network to carry neutron external network traffic alone. For backwards compatibility, the public network defaults to the external network.
15 lines
634 B
YAML
15 lines
634 B
YAML
---
|
|
# Generate an environment file for interacting with the public OpenStack APIs
|
|
# as the admin user in the admin project.
|
|
|
|
- name: Ensure a public OpenStack API environment file exists
|
|
hosts: config-mgmt
|
|
vars:
|
|
public_api_proto: "{% if kolla_enable_tls_external | bool %}https{% else %}http{% endif %}"
|
|
public_api_vip_address: "{{ public_net_name | net_vip_address }}"
|
|
public_api_keystone_port: 5000
|
|
roles:
|
|
- role: public-openrc
|
|
public_openrc_kolla_config_path: "{{ kolla_config_path }}"
|
|
public_openrc_auth_url: "{{ public_api_proto }}://{{ public_api_vip_address }}:{{ public_api_keystone_port }}"
|