bifrost/playbooks/deploy-dynamic.yaml
Andrey Shestakov 1236d9343e Allow deploy-dynamic on remote host
This change allows deploy nodes on remote server with installed Ironic.

Change-Id: If0625ee5a4a2271452305bb3e079ad075b9c71b1
2017-02-07 19:07:56 +00:00

11 lines
414 B
YAML

---
- hosts: baremetal
name: "Create configuration drive files and deploy machines from inventory"
become: no
gather_facts: no
roles:
- role: bifrost-configdrives-dynamic
delegate_to: "{{ groups['target'][0] if groups['target'] is defined else 'localhost' }}"
- role: bifrost-deploy-nodes-dynamic
delegate_to: "{{ groups['target'][0] if groups['target'] is defined else 'localhost' }}"