
Switch from "| bool" to "| bool == true" to maintain consistency across playbooks. Also change "== true" to "bool | == true". Also fix up some formatting of curly braces. Change-Id: I1d848c4f1d19b0fdee2060f257981842b4e40235
14 lines
339 B
YAML
14 lines
339 B
YAML
---
|
|
- hosts: localhost
|
|
connection: local
|
|
name: "Collect facts"
|
|
become: no
|
|
gather_facts: yes
|
|
- hosts: baremetal
|
|
connection: local
|
|
name: "Enroll hardware from inventory into Ironic"
|
|
become: no
|
|
roles:
|
|
- role: ironic-enroll-dynamic
|
|
- { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true }
|