85ac496ff6
This deploys cyborg services across various hosts and sets them up as boot time services configured to access the local rabbit and mysql instances and then runs some validations to ensure that everything started correctly. This does not have any saftey for multi-controller setups yet, right now if you hand the playbook 3 hosts under 'controller' it will deploy three api endpoints and three agents. Which probably won't work right. Change-Id: I79b6b1ce9bb6766d5e608c89504c4bbaeaba5599
23 lines
444 B
YAML
23 lines
444 B
YAML
---
|
|
# This Ansible playbook deploys Cyborg services on an openstack cloud
|
|
|
|
- hosts: controller
|
|
remote_user: heat-admin
|
|
roles:
|
|
- generate_credentials
|
|
- install_package
|
|
- template_config
|
|
- deploy_api
|
|
- deploy_conductor
|
|
- validate_api
|
|
- validate_conductor
|
|
|
|
- hosts: compute
|
|
remote_user: heat-admin
|
|
roles:
|
|
- install_package
|
|
- template_config
|
|
- deploy_agent
|
|
- validate_agent
|
|
#- deploy_drivers
|