--- - 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