bifrost/playbooks/enroll-dynamic.yaml
stephane 1dc6d853a0 Make boolean usage consistent across playbooks
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
2016-06-03 12:48:44 -07:00

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 }