0104f3e334
Closes-Bug: #2024314 Change-Id: I608b84905fa69346a33a1cef10f159b3412cbfd7 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
21 lines
842 B
YAML
21 lines
842 B
YAML
---
|
|
- name: Enrolling physical servers with ironic
|
|
become: true
|
|
command: >
|
|
{{ kolla_container_engine }} exec bifrost_deploy
|
|
bash -c 'export OS_CLOUD=bifrost &&
|
|
export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml &&
|
|
ansible-playbook {{ bifrost_deploy_verbosity }}
|
|
-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: >
|
|
{{ kolla_container_engine }} exec bifrost_deploy
|
|
bash -c 'export OS_CLOUD=bifrost &&
|
|
export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml &&
|
|
ansible-playbook {{ bifrost_deploy_verbosity }}
|
|
-i /bifrost/playbooks/inventory/bifrost_inventory.py
|
|
/bifrost/playbooks/deploy-dynamic.yaml -e @/etc/bifrost/bifrost.yml'
|