
In hostname playbook, add a task to modify /etc/hosts. tripleo_set_unique_hostname is a new boolean which if set to true, will add a line to /etc/hosts with an unique hostname ( {{ ansible_hostname }}-unique ) which will resolve the first IPv4 address found in the inventory. It is useful to reproduce a deployment where the operator is using hostnames to create SSL certificates and deploy the undecloud with the public host being an hostname/fqdn and not an IP address. Related-Bug: #1763776 Change-Id: I6425499e5d248e6cb2285f14dd9c6e716122b90b
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
---
|
|
|
|
undercloud_key: "{{ local_working_dir }}/id_rsa_undercloud"
|
|
non_root_user_setup: true
|
|
|
|
toci_vxlan_networking: false
|
|
vxlan_networking: false
|
|
vxlan_networking_addr_prefix: "{{ undercloud_network_cidr | ipaddr('network') | replace('.0', '') }}"
|
|
vxlan_networking_addr_netmask: "{{ undercloud_network_cidr | ipv4('prefix') }}"
|
|
vxlan_mtu: 1450
|
|
|
|
step_set_undercloud_hostname: false
|
|
undercloud_hostname: localhost
|
|
hostname_correction: false
|
|
|
|
package_installs: true
|
|
|
|
ovb_setup_connectivity: false
|
|
ovb_undercloud_connectivity_log: "{{ working_dir }}/ovb_undercloud_connectivity.log"
|
|
mtu: 1350
|
|
mtu_interface:
|
|
- eth1
|
|
external_interface: eth2
|
|
external_interface_ip: 10.0.0.1
|
|
external_interface_netmask: 255.255.255.0
|
|
custom_nameserver:
|
|
- 8.8.8.8
|
|
|
|
# default value for undercloud_rpm_dependencies
|
|
# is in extras-common
|
|
|
|
undercloud_ansible_cfg: true
|
|
|
|
# NOTE(aschultz): 0.16.0 requires ansible 2.4.5 which we may not have in older
|
|
# versions. Once we have 2.5+ everywhere we can likely remove this version and
|
|
# specify latest
|
|
undercloud_ara_version: 0.15.0
|
|
|
|
# NOTE(rfolco): do not configure ara on undercloud until we pin ara deps to
|
|
# each branch - https://bugs.launchpad.net/tripleo/+bug/1792622
|
|
undercloud_ara: false
|
|
install_atop: true
|
|
atop_command: atop -R -w /var/log/atop.bin
|
|
tripleo_set_unique_hostname: false
|