ddafc94e30
Change-Id: I084da313eda17435c095ade7cb1b92981f5341dc
11 lines
369 B
YAML
11 lines
369 B
YAML
---
|
|
noauth_mode: true
|
|
|
|
network_interface: "virbr0"
|
|
ans_network_interface: "{{ network_interface | replace('-', '_') }}"
|
|
internal_ip: "{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface]['ipv4']['address'] }}"
|
|
|
|
enable_tls: false
|
|
api_protocol: "{{ 'https' if enable_tls | bool else 'http' }}"
|
|
ironic_api_url: "{{ api_protocol }}://{{ internal_ip }}:6385"
|