1236d9343e
This change allows deploy nodes on remote server with installed Ironic. Change-Id: If0625ee5a4a2271452305bb3e079ad075b9c71b1
11 lines
414 B
YAML
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' }}"
|