![Mark Goddard](/assets/img/avatar_default.png)
The group variables originally in ansible/group_vars/ were playbook group variables, due to being adjacent to the playbooks. Typically they provided default values for global variables in the all group, as well as some more specific groups. This has worked fairly well, but results in (at least) a couple of problems. 1. The default variable precedence rules mean that these playbook group variables have a higher precedence than inventory group variables (for a given group). This can make it challenging to override playbook group variables in the inventory in Kayobe configuration. 2. Any playbook run by Kayobe must be in the same directory as the playbook group variables in order to use them. Given that they include variables required for connectivity such as ansible_host and ansible_user, this is quite critical. For Kayobe custom playbooks, we work around this by symlinking to the group_vars directory from the directory containing the custom playbook. This is not an elegant workaround, and has assumptions about the relative paths of the Kayobe configuration and virtual environment in which Kayobe is installed. Story: 2010280 Task: 46233 Change-Id: Ifea5c7e73f6f410f96a7398bfd349d1f631d9fc0
154 lines
5.0 KiB
Plaintext
154 lines
5.0 KiB
Plaintext
---
|
|
###############################################################################
|
|
# Ironic configuration.
|
|
|
|
# Specify the list of hardware types to load during service initialization.
|
|
kolla_ironic_enabled_hardware_types:
|
|
- ipmi
|
|
|
|
# Specify the list of bios interfaces to load during service initialization.
|
|
kolla_ironic_enabled_bios_interfaces:
|
|
- no-bios
|
|
|
|
# Default bios interface to be used for nodes that do not have bios_interface
|
|
# field set.
|
|
kolla_ironic_default_bios_interface: no-bios
|
|
|
|
# Specify the list of boot interfaces to load during service initialization.
|
|
kolla_ironic_enabled_boot_interfaces:
|
|
- ipxe
|
|
- pxe
|
|
|
|
# Default boot interface to be used for nodes that do not have boot_interface
|
|
# field set.
|
|
kolla_ironic_default_boot_interface: ipxe
|
|
|
|
# Specify the list of console interfaces to load during service initialization.
|
|
kolla_ironic_enabled_console_interfaces:
|
|
- ipmitool-socat
|
|
- no-console
|
|
|
|
# Default console interface to be used for nodes that do not have
|
|
# console_interface field set.
|
|
kolla_ironic_default_console_interface: ipmitool-socat
|
|
|
|
# Specify the list of deploy interfaces to load during service initialization.
|
|
kolla_ironic_enabled_deploy_interfaces:
|
|
- direct
|
|
|
|
# Default deploy interface to be used for nodes that do not have
|
|
# deploy_interface field set.
|
|
kolla_ironic_default_deploy_interface: direct
|
|
|
|
# Specify the list of inspect interfaces to load during service initialization.
|
|
kolla_ironic_enabled_inspect_interfaces:
|
|
- inspector
|
|
- no-inspect
|
|
|
|
# Default inspect interface to be used for nodes that do not have
|
|
# inspect_interface field set.
|
|
kolla_ironic_default_inspect_interface: inspector
|
|
|
|
# Specify the list of management interfaces to load during service
|
|
# initialization.
|
|
kolla_ironic_enabled_management_interfaces:
|
|
- ipmitool
|
|
|
|
# Default management interface to be used for nodes that do not have
|
|
# management_interface field set.
|
|
kolla_ironic_default_management_interface: ipmitool
|
|
|
|
# Specify the list of network interfaces to load during service initialization.
|
|
kolla_ironic_enabled_network_interfaces:
|
|
- noop
|
|
- flat
|
|
- neutron
|
|
|
|
# Default network interface to be used for nodes that do not have
|
|
# network_interface field set.
|
|
kolla_ironic_default_network_interface: neutron
|
|
|
|
# Specify the list of power interfaces to load during service initialization.
|
|
kolla_ironic_enabled_power_interfaces:
|
|
- ipmitool
|
|
|
|
# Default power interface to be used for nodes that do not have power_interface
|
|
# field set.
|
|
kolla_ironic_default_power_interface: ipmitool
|
|
|
|
# Specify the list of raid interfaces to load during service initialization.
|
|
kolla_ironic_enabled_raid_interfaces:
|
|
- agent
|
|
- no-raid
|
|
|
|
# Default raid interface to be used for nodes that do not have
|
|
# raid_interface field set.
|
|
kolla_ironic_default_raid_interface: no-raid
|
|
|
|
# Specify the list of rescue interfaces to load during service initialization.
|
|
kolla_ironic_enabled_rescue_interfaces:
|
|
- agent
|
|
- no-rescue
|
|
|
|
# Default rescue interface to be used for nodes that do not have
|
|
# rescue_interface field set.
|
|
kolla_ironic_default_rescue_interface: no-rescue
|
|
|
|
# Specify the list of storage interfaces to load during
|
|
# service initialization.
|
|
#kolla_ironic_enabled_storage_interfaces:
|
|
|
|
# Default storage interface to be used for nodes that do not
|
|
# have storage_interface field set.
|
|
#kolla_ironic_default_storage_interface:
|
|
|
|
# Specify the list of vendor interfaces to load during service initialization.
|
|
kolla_ironic_enabled_vendor_interfaces:
|
|
- no-vendor
|
|
|
|
# Default vendor interface to be used for nodes that do not have
|
|
# vendor_interface field set.
|
|
kolla_ironic_default_vendor_interface: no-vendor
|
|
|
|
# Default boot option to use when no boot option is requested in node's
|
|
# driver_info.
|
|
kolla_ironic_default_boot_option: local
|
|
|
|
# Name of the Neutron network to use for cleaning.
|
|
kolla_ironic_cleaning_network: "{{ kolla_ironic_provisioning_network if cleaning_net_name == provision_wl_net_name else 'cleaning-net' }}"
|
|
|
|
# Name of the Neutron network to use for provisioning.
|
|
kolla_ironic_provisioning_network: 'provision-net'
|
|
|
|
# List of default kernel parameters to append for baremetal PXE boot.
|
|
kolla_ironic_pxe_append_params_default:
|
|
- nofb
|
|
- nomodeset
|
|
- vga=normal
|
|
- console=tty0
|
|
- console=ttyS0,115200n8
|
|
|
|
# List of additional kernel parameters to append for baremetal PXE boot.
|
|
kolla_ironic_pxe_append_params_extra: []
|
|
|
|
# List of kernel parameters to append for baremetal PXE boot.
|
|
kolla_ironic_pxe_append_params: >
|
|
{{ kolla_ironic_pxe_append_params_default +
|
|
kolla_ironic_pxe_append_params_extra }}
|
|
|
|
###############################################################################
|
|
# Ironic Node Configuration
|
|
|
|
# Whether or not to enable the serial consoles on post configure
|
|
ironic_serial_console_autoenable: false
|
|
|
|
# This defines the start of the range of TCP ports to used for the IPMI socat
|
|
# serial consoles
|
|
ironic_serial_console_tcp_pool_start: 30000
|
|
|
|
# This defines the end of the range of TCP ports to used for the IPMI socat
|
|
# serial consoles
|
|
ironic_serial_console_tcp_pool_end: 31000
|
|
|
|
###############################################################################
|