Merge "Use bool filter with enable_ironic_pxe_uefi"
This commit is contained in:
commit
02fa35dc8e
@ -89,7 +89,7 @@
|
||||
# Only required when Ironic inspector is in use.
|
||||
- groups['ironic-inspector'] | length > 0
|
||||
- inventory_hostname in groups['ironic-pxe']
|
||||
- not enable_ironic_pxe_uefi
|
||||
- not enable_ironic_pxe_uefi | bool
|
||||
|
||||
- name: Copying ironic_pxe_uefi.cfg default
|
||||
template:
|
||||
@ -114,7 +114,7 @@
|
||||
# Only required when Ironic inspector is in use.
|
||||
- groups['ironic-inspector'] | length > 0
|
||||
- inventory_hostname in groups['ironic-pxe']
|
||||
- not enable_ironic_pxe_uefi
|
||||
- not enable_ironic_pxe_uefi | bool
|
||||
|
||||
- name: Copying over existing policy file
|
||||
template:
|
||||
|
@ -28,7 +28,7 @@
|
||||
- container_facts['ironic_inspector'] is not defined
|
||||
- inventory_hostname in groups['ironic-inspector']
|
||||
|
||||
- name: Checking ironic-agent files exist for Ironic
|
||||
- name: Checking ironic-agent files exist for Ironic Inspector
|
||||
local_action: stat path="{{ node_custom_config }}/ironic/{{ item }}"
|
||||
run_once: True
|
||||
register: result
|
||||
@ -37,7 +37,7 @@
|
||||
# Only required when Ironic inspector is in use.
|
||||
- groups['ironic-inspector'] | length > 0
|
||||
- inventory_hostname in groups['ironic-pxe']
|
||||
- not enable_ironic_pxe_uefi
|
||||
- not enable_ironic_pxe_uefi | bool
|
||||
with_items:
|
||||
- "ironic-agent.kernel"
|
||||
- "ironic-agent.initramfs"
|
||||
|
@ -5,7 +5,7 @@
|
||||
"command": "/usr/sbin/in.tftpd --verbose --foreground --user root --address 0.0.0.0:69 --map-file /map-file /tftpboot",
|
||||
"config_files": [
|
||||
{% if groups['ironic-inspector'] | length > 0 %}
|
||||
{% if not enable_ironic_pxe_uefi %}
|
||||
{% if not enable_ironic_pxe_uefi | bool %}
|
||||
{
|
||||
"source": "{{ container_config_directory }}/ironic-agent.kernel",
|
||||
"dest": "/tftpboot/ironic-agent.kernel",
|
||||
|
Loading…
Reference in New Issue
Block a user