kolla-ansible/ansible/site.yml
Steven Dake 327d89bd38 Fix rabbitmq from failure during startup
Stagger the start times of the rabbitmq daemon so rabbitmq neither
crashes and also properly forms a cluster.  This problem exists in
the latest rabbitmq 3.5.4 available on rabbitmq.com for download.

Change-Id: Iac4186b3c3b586de38467294399c7ed9415244de
Closes-Bug: #1490780
2015-09-08 20:38:11 -07:00

50 lines
1.5 KiB
YAML
Executable File

---
- hosts: [haproxy, mariadb, rabbitmq, cinder-api, glance-api, keystone, nova-api, neutron-server, swift-proxy-server]
roles:
- { role: haproxy, tags: haproxy, keepalived, when: enable_haproxy | bool }
- hosts: mariadb
roles:
- { role: mariadb, tags: mariadb, when: enable_mariadb | bool }
- hosts: rabbitmq
serial: 1
roles:
- { role: rabbitmq, tags: rabbitmq, when: enable_rabbitmq | bool }
- hosts: keystone
roles:
- { role: keystone, tags: keystone, when: enable_keystone | bool }
- hosts: [swift-proxy-server, swift-account-server, swift-object-server, swift-container-server ]
roles:
- { role: swift, tags: swift, when: enable_swift | bool }
- hosts: [glance-api, glance-registry]
roles:
- { role: glance, tags: glance, when: enable_glance | bool }
- hosts: [nova-api, nova-conductor, nova-consoleauth, nova-novncproxy, nova-scheduler, compute]
roles:
- { role: nova, tags: nova, when: enable_nova | bool }
- hosts: [neutron-server, neutron-agents, compute]
roles:
- { role: neutron, tags: neutron, when: enable_neutron | bool }
- hosts: [cinder-api, cinder-backup, cinder-scheduler, cinder-volume]
roles:
- { role: cinder, tags: cinder, when: enable_cinder | bool }
- hosts: [heat-api, heat-api-cfn, heat-engine]
roles:
- { role: heat, tags: heat, when: enable_heat | bool }
- hosts: horizon
roles:
- { role: horizon, tags: horizon, when: enable_horizon | bool }
- hosts: [murano-api, murano-engine]
roles:
- { role: murano, tags: murano, when: enable_murano | bool }