a308a2c409
The 'ansible_python_interpreter' has already defined in /etc/bifrost/bifrost.yml we should remove the redundant variable Change-Id: Ie799170d3318a731d31e1f39bcf940a1b220bd53
19 lines
814 B
YAML
19 lines
814 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 @/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 @/etc/bifrost/bifrost.yml'
|