![Dmitry Tantsur](/assets/img/avatar_default.png)
Adds a new role bifrost-cloud-config and moves all cloud configuration handling there, fixing a few inconsistencies in the way modules are used. Also handles bare metal endpoint overrides until we can fully switch to cloud-based authentication handling. Change-Id: I8bcbc5bc8f206a98d547953b5e902d86b817a302
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
---
|
|
# write_interfaces_file is intended for utilizing base logic to write
|
|
# a debian style interfaces file into the configuration drive file
|
|
# such that cirros will receive basic network configuration when
|
|
# performing basic testing.
|
|
write_interfaces_file: false
|
|
http_boot_folder: /httpboot
|
|
# Default location to the ssh public key for the user operating Bifrost.
|
|
ssh_public_key_path: "{{ lookup('env', 'HOME') }}/.ssh/id_rsa.pub"
|
|
|
|
# Default interface name
|
|
# TODO(TheJulia): Remove this default.
|
|
node_default_network_interface: eth0
|
|
|
|
# Basic networking defaults
|
|
# TODO(TheJulia): Require these to be supplied some other way.
|
|
ipv4_subnet_mask: 255.255.255.0
|
|
ipv4_gateway: 192.168.1.1
|
|
ipv4_nameserver: 8.8.8.8
|
|
network_mtu: 1500
|
|
|
|
# Default ISO generation utility
|
|
iso_gen_utility: "mkisofs"
|
|
|
|
# Deprecated, remove in Queens release
|
|
node_network_info: {}
|
|
|
|
# Ensure that Ansible is using python interpreter and dependencies inside the bifrost virtual environment
|
|
enable_venv: true
|
|
bifrost_venv_dir: "{{ lookup('env', 'VENV') or '/opt/stack/bifrost' }}"
|
|
ansible_python_interpreter: "{{ bifrost_venv_dir + '/bin/python3' if enable_venv | bool else '/usr/bin/python3' }}"
|