df54e88132
TrivialFix Change-Id: I2cc1441a5fcf9c09db01d17c840bb784f4db1c0e
21 lines
950 B
YAML
21 lines
950 B
YAML
---
|
|
- name: Enrolling physical servers with ironic
|
|
command: >
|
|
docker exec bifrost_deploy
|
|
bash -c 'source /bifrost/env-vars
|
|
&& source /opt/stack/ansible/hacking/env-setup &&
|
|
export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml &&
|
|
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/bifrost_inventory.py
|
|
/bifrost/playbooks/enroll-dynamic.yaml -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"
|
|
-e @/etc/bifrost/bifrost.yml'
|
|
|
|
- name: Deploy physical servers with ironic
|
|
command: >
|
|
docker exec bifrost_deploy
|
|
bash -c 'source /bifrost/env-vars
|
|
&& source /opt/stack/ansible/hacking/env-setup &&
|
|
export BIFROST_INVENTORY_SOURCE=/etc/bifrost/servers.yml &&
|
|
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/bifrost_inventory.py
|
|
/bifrost/playbooks/deploy-dynamic.yaml -e "ansible_python_interpreter=/var/lib/kolla/venv/bin/python"
|
|
-e @/etc/bifrost/bifrost.yml'
|