bifrost/playbooks/enroll-dynamic.yaml
stephane 1920428599 Migrate playbooks to use 'become'
Ansible is scheduled to remove the 'sudo' module
and replace it with 'become'. Switch to using this
now since it is already supported in 1.9.

Closes-Bug: #1504535

Change-Id: Ie63816e36a95c86d54fea5f50325522b41597047
2015-10-15 07:32:05 -07:00

13 lines
248 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