Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 9 additions & 20 deletions ansible/inventory/group_vars/all/inspector
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,11 @@ inspector_rule_ipmi_credentials:
description: "Set IPMI driver_info if no credentials"
conditions:
- args:
# If value matches itself as a regex, this is becaused interpolation
# failed which means the ipmi_username key was not set.
value: "{node.driver_info[ipmi_username]}"
regex: "{node\\.driver_info\\[ipmi_username\\]}"
op: "matches"
op: "is-empty"
- args:
value: "{node.driver_info[ipmi_password]}"
regex: "{node\\.driver_info\\[ipmi_password\\]}"
op: "matches"
op: "is-empty"
sensitive: "true"
actions:
- op: "set-attribute"
Expand All @@ -151,8 +147,7 @@ inspector_rule_deploy_kernel:
conditions:
- args:
value: "{node.driver_info[deploy_kernel]}"
regex: "{node\\.driver_info\\[deploy_kernel\\]}"
op: "matches"
op: "is-empty"
actions:
- op: "set-attribute"
args:
Expand All @@ -168,8 +163,7 @@ inspector_rule_deploy_ramdisk:
conditions:
- args:
value: "{node.driver_info[deploy_ramdisk]}"
regex: "{node\\.driver_info\\[deploy_ramdisk\\]}"
op: "matches"
op: "is-empty"
actions:
- op: "set-attribute"
args:
Expand All @@ -182,8 +176,7 @@ inspector_rule_root_hint_serial:
conditions:
- args:
value: "{node.properties[root_device]}"
regex: "{node\\.properties\\[root_device\\]}"
op: "matches"
op: "is-empty"
- args:
value: "{plugin_data[root_disk][serial]}"
op: "!is-empty"
Expand Down Expand Up @@ -343,12 +336,10 @@ inspector_rule_redfish_credentials:
conditions:
- args:
value: "{node.driver_info[redfish_username]}"
regex: "{node\\.driver_info\\[redfish_username\\]}"
op: "matches"
op: "is-empty"
- args:
value: "{node.driver_info[redfish_password]}"
regex: "{node\\.driver_info\\[redfish_password\\]}"
op: "matches"
op: "is-empty"
sensitive: true
actions:
- op: "set-attribute"
Expand All @@ -366,8 +357,7 @@ inspector_rule_redfish_address:
conditions:
- args:
value: "{node.driver_info[redfish_address]}"
regex: "{node\\.driver_info\\[redfish_address\\]}"
op: "matches"
op: "is-empty"
actions:
- op: "set-attribute"
args:
Expand All @@ -380,8 +370,7 @@ inspector_rule_redfish_verify_ca:
conditions:
- args:
value: "{node.driver_info[redfish_verify_ca]}"
regex: "{node\\.driver_info\\[redfish_verify_ca\\]}"
op: "matches"
op: "is-empty"
actions:
- op: "set-attribute"
args:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
fixes:
- |
Bumps the ``stackhpc.openstack`` collection to version 0.10.2. This fixes a
broken conditional causing IPA and overcloud image build failures when
``ALLOW_BROKEN_CONDITIONALS`` is disabled.
`LP#2157021 <https://bugs.launchpad.net/kayobe/+bug/2157021>`__
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ collections:
- name: stackhpc.network
version: 1.0.0
- name: stackhpc.openstack
version: 0.10.1
version: 0.10.2

roles:
- src: ahuffman.resolv
Expand Down