kolla-ansible/ansible/roles/bifrost/tasks/deploy-servers.yml
Maksim Malchuk 0104f3e334 Fix Bifrost: remove an extra curly bracket
Closes-Bug: #2024314
Change-Id: I608b84905fa69346a33a1cef10f159b3412cbfd7
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-06-18 23:13:52 +03:00

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'