
After the switch to newer ansible collection, the enrollment workflow started running automated cleaning (before that, it would use the old API version resulting in immediate "available"). However, the static DHCP configuration only happened in the inspect and deploy workflows, which are run after enrollment. This change extracts a new small role for the DHCP config and includes it in all 3 workflows that use DHCP. While here, make sure that dnsmasq_dhcp_hostsdir is respected. Change-Id: Idf6f24dde11d600698d45a218812cba8134fb73f
12 lines
487 B
YAML
12 lines
487 B
YAML
---
|
|
# defaults file for ironic-inspect-node
|
|
noauth_mode: false
|
|
inspection_wait_timeout: 1800
|
|
|
|
# Timeout for gathering facts.
|
|
fact_gather_timeout: "{{ lookup('config', 'DEFAULT_GATHER_TIMEOUT', on_missing='skip') | default(omit, true) }}"
|
|
|
|
# Ensure that Ansible is using python interpreter and dependencies inside the bifrost virtual environment
|
|
bifrost_venv_dir: "{{ lookup('env', 'VENV') or '/opt/stack/bifrost' }}"
|
|
ansible_python_interpreter: "{{ bifrost_venv_dir + '/bin/python3' }}"
|