8464046eac
Change-Id: I1318a5ea7f746012cc3055d4c03fd0508df921ff
19 lines
738 B
YAML
19 lines
738 B
YAML
---
|
|
- name: Enrolling physical servers with ironic
|
|
become: true
|
|
command: >
|
|
docker exec bifrost_deploy
|
|
bash -c 'export OS_CLOUD=bifrost &&
|
|
export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml &&
|
|
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/bifrost_inventory.py
|
|
/bifrost/playbooks/enroll-dynamic.yaml -e @/etc/bifrost/bifrost.yml'
|
|
|
|
- name: Deploy physical servers with ironic
|
|
become: true
|
|
command: >
|
|
docker exec bifrost_deploy
|
|
bash -c 'export OS_CLOUD=bifrost &&
|
|
export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml &&
|
|
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/bifrost_inventory.py
|
|
/bifrost/playbooks/deploy-dynamic.yaml -e @/etc/bifrost/bifrost.yml'
|