Add a BMC configuration file to consolidate IPMI credentials and BMC type

This commit is contained in:
Mark Goddard 2017-04-04 15:24:59 +01:00
parent b40c33f536
commit b9b62138f6
4 changed files with 38 additions and 4 deletions

View File

@ -58,10 +58,10 @@ kolla_bifrost_inspector_extra_kernel_options: "{{ inspector_extra_kernel_options
kolla_bifrost_inspector_rules: "{{ inspector_rules }}"
# Ironic inspector IPMI username to set.
kolla_bifrost_inspector_ipmi_username: "{{ inspector_ipmi_username }}"
kolla_bifrost_inspector_ipmi_username: "{{ ipmi_username }}"
# Ironic inspector IPMI password to set.
kolla_bifrost_inspector_ipmi_password: "{{ inspector_ipmi_password }}"
kolla_bifrost_inspector_ipmi_password: "{{ ipmi_password }}"
# Ironic inspector network interface name on which to check for an LLDP switch
# port description to use as the node's name.

View File

@ -0,0 +1,15 @@
---
###############################################################################
# Configuration of Baseboard Management Controllers (BMCs).
# Type of host's BMC. Currently only idrac is supported.
bmc_type:
# Address to use to access a host's BMC via IPMI.
ipmi_address:
# Username to use to access a host's BMC via IPMI.
ipmi_username:
# Password to use to access a host's BMC via IPMI.
ipmi_password:

View File

@ -53,10 +53,10 @@ inspector_discovery_enroll_node_driver: "ipmi"
# Ironic inspector configuration.
# Ironic inspector IPMI username to set.
inspector_ipmi_username:
inspector_ipmi_username: "{{ ipmi_username }}"
# Ironic inspector IPMI password to set.
inspector_ipmi_password:
inspector_ipmi_password: "{{ ipmi_password }}"
# Ironic inspector network interface name on which to check for an LLDP switch
# port description to use as the node's name.

19
etc/kayobe/bmc.yml Normal file
View File

@ -0,0 +1,19 @@
---
###############################################################################
# Configuration of Baseboard Management Controllers (BMCs).
# Type of host's BMC. Currently only idrac is supported.
#bmc_type:
# Address to use to access a host's BMC via IPMI.
#ipmi_address:
# Username to use to access a host's BMC via IPMI.
#ipmi_username:
# Password to use to access a host's BMC via IPMI.
#ipmi_password:
###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes