bifrost/playbooks/enroll-dynamic.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 }