0bba5fe000
Currently the delegate_to doesnt happen and the neutron role creation is attempted once on the first server and is skipped. The re-ordering of hosts in site.yml seems to make the first host to be one inside neutron-server group yielding the expected results. This patch needs to be re-visited as soon as a version of ansible is chosen that fixes the issues with delegate_to Co-Authored-By: Steven Dake <stdake@cisco.com> Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com> Co-Authored-By: Nate Potter <nathaniel.potter@intel.com> Co-Authored-By: Ganesh Mahalingam <ganesh.mahalingam@intel.com> Change-Id: Ia712b323aa9d750d470a11ee899ab1b3054a903f Partial-Bug: #1546789
212 lines
3.7 KiB
YAML
212 lines
3.7 KiB
YAML
---
|
|
- hosts:
|
|
- ceph-mon
|
|
- ceph-osd
|
|
- ceph-rgw
|
|
roles:
|
|
- { role: ceph,
|
|
tags: ceph,
|
|
when: enable_ceph | bool }
|
|
|
|
- hosts: elasticsearch
|
|
roles:
|
|
- { role: elasticsearch,
|
|
tags: elasticsearch,
|
|
when: enable_central_logging | bool }
|
|
|
|
- hosts:
|
|
- cinder-api
|
|
- glance-api
|
|
- haproxy
|
|
- keystone
|
|
- mariadb
|
|
- murano-api
|
|
- neutron-server
|
|
- nova-api
|
|
- rabbitmq
|
|
- swift-proxy-server
|
|
- heat-api
|
|
- murano-api
|
|
roles:
|
|
- { role: haproxy,
|
|
tags: haproxy,
|
|
when: enable_haproxy | bool }
|
|
|
|
- hosts: kibana
|
|
roles:
|
|
- { role: kibana,
|
|
tags: kibana,
|
|
when: enable_central_logging | bool }
|
|
|
|
- hosts: memcached
|
|
roles:
|
|
- { role: memcached,
|
|
tags: [memcache, memcached],
|
|
when: enable_memcached | bool }
|
|
|
|
- hosts: mariadb
|
|
roles:
|
|
- { role: mariadb,
|
|
tags: mariadb,
|
|
when: enable_mariadb | bool }
|
|
|
|
- hosts: rabbitmq
|
|
roles:
|
|
- { role: rabbitmq,
|
|
tags: rabbitmq,
|
|
when: enable_rabbitmq | bool }
|
|
|
|
- hosts:
|
|
- keystone
|
|
- memcached
|
|
roles:
|
|
- { role: keystone,
|
|
tags: keystone,
|
|
when: enable_keystone | bool }
|
|
|
|
- hosts:
|
|
- swift-account-server
|
|
- swift-container-server
|
|
- swift-object-server
|
|
- swift-proxy-server
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: swift,
|
|
tags: swift,
|
|
when: enable_swift | bool }
|
|
|
|
- hosts:
|
|
- ceph-mon
|
|
- glance-api
|
|
- glance-registry
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: glance,
|
|
tags: glance,
|
|
when: enable_glance | bool }
|
|
|
|
- hosts:
|
|
- ceph-mon
|
|
- compute
|
|
- glance-api
|
|
- nova-api
|
|
- nova-conductor
|
|
- nova-consoleauth
|
|
- nova-novncproxy
|
|
- nova-scheduler
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: nova,
|
|
tags: nova,
|
|
when: enable_nova | bool }
|
|
|
|
- hosts:
|
|
- neutron-server
|
|
- neutron-dhcp-agent
|
|
- neutron-l3-agent
|
|
- neutron-metadata-agent
|
|
- compute
|
|
- manila-share
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: neutron,
|
|
tags: neutron,
|
|
when: enable_neutron | bool }
|
|
|
|
- hosts:
|
|
- ceph-mon
|
|
- cinder-api
|
|
- cinder-backup
|
|
- cinder-scheduler
|
|
- cinder-volume
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: cinder,
|
|
tags: cinder,
|
|
when: enable_cinder | bool }
|
|
|
|
- hosts:
|
|
- heat-api
|
|
- heat-api-cfn
|
|
- heat-engine
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: heat,
|
|
tags: heat,
|
|
when: enable_heat | bool }
|
|
|
|
- hosts:
|
|
- horizon
|
|
- memcached
|
|
roles:
|
|
- { role: horizon,
|
|
tags: horizon,
|
|
when: enable_horizon | bool }
|
|
|
|
- hosts:
|
|
- murano-api
|
|
- murano-engine
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: murano,
|
|
tags: murano,
|
|
when: enable_murano | bool }
|
|
|
|
- hosts:
|
|
- ironic-api
|
|
- ironic-conductor
|
|
- ironic-inspector
|
|
- ironic-pxe
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: ironic,
|
|
tags: ironic,
|
|
when: enable_ironic | bool }
|
|
|
|
- hosts:
|
|
- magnum-api
|
|
- magnum-conductor
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: magnum,
|
|
tags: magnum,
|
|
when: enable_magnum | bool }
|
|
|
|
- hosts:
|
|
- mistral-api
|
|
- mistral-engine
|
|
- mistral-executor
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: mistral,
|
|
tags: mistral,
|
|
when: enable_mistral | bool }
|
|
|
|
- hosts:
|
|
- mongodb
|
|
roles:
|
|
- { role: mongodb,
|
|
tags: mongodb,
|
|
when: enable_mongodb | bool }
|
|
|
|
- hosts:
|
|
- manila-api
|
|
- manila-share
|
|
- manila-scheduler
|
|
- rabbitmq
|
|
- memcached
|
|
roles:
|
|
- { role: manila,
|
|
tags: manila,
|
|
when: enable_manila | bool }
|