kolla/ansible/site.yml
Hui Kang 0d28b311eb Add Kuryr ansible role
Change-Id: I7134bffab940ee780e5f5010d639af56f97b41d6
Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com>
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: Antoni Segura Puimedon <antonisp@celebdor.com>
Partially-implements: bp kuryr-docker-plugin
2016-09-15 23:47:22 +00:00

370 lines
7.9 KiB
YAML

---
- hosts:
- all
roles:
- { role: common,
tags: common }
- hosts:
- ceph-mon
- ceph-osd
- ceph-rgw
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: ceph,
tags: ceph,
when: enable_ceph | bool }
- hosts: collectd
roles:
- { role: collectd,
tags: collectd,
when: enable_collectd | bool }
- hosts: elasticsearch
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: elasticsearch,
tags: elasticsearch,
when: enable_elasticsearch | bool }
- hosts: influxdb
roles:
- { role: influxdb,
tags: influxdb,
when: enable_influxdb | bool }
- hosts:
- telegraf
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: telegraf,
tags: telegraf,
when: enable_telegraf | bool }
- hosts: haproxy
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: haproxy,
tags: haproxy,
when: enable_haproxy | bool }
- hosts: kibana
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: kibana,
tags: kibana,
when: enable_kibana | bool }
- hosts: memcached
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: memcached,
tags: [memcache, memcached],
when: enable_memcached | bool }
- hosts: mariadb
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: mariadb,
tags: mariadb,
when: enable_mariadb | bool }
- hosts:
- iscsid
- tgtd
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: iscsi,
tags: iscsi,
when: enable_cinder_backend_lvm | bool }
- hosts:
- multipathd
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: multipathd,
tags: multipathd,
when: enable_multipathd | bool }
- hosts: rabbitmq
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: rabbitmq,
tags: rabbitmq,
when: enable_rabbitmq | bool }
- hosts: etcd
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: etcd,
tags: etcd,
when: enable_etcd | bool }
- hosts:
- keystone
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: keystone,
tags: keystone,
when: enable_keystone | bool }
- hosts:
- swift-account-server
- swift-container-server
- swift-object-server
- swift-proxy-server
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: swift,
tags: swift,
when: enable_swift | bool }
- hosts:
- ceph-mon
- glance-api
- glance-registry
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: glance,
tags: glance,
when: enable_glance | bool }
- hosts:
- ceph-mon
- compute
- nova-api
- nova-conductor
- nova-consoleauth
- nova-novncproxy
- nova-scheduler
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: nova,
tags: nova,
when: enable_nova | bool }
- hosts:
- compute
roles:
- { role: kuryr,
tags: kuryr,
when: enable_kuryr | bool }
# (gmmaha): Please do not change the order listed here. The current order is a
# workaround to fix the bug https://bugs.launchpad.net/kolla/+bug/1546789
- hosts:
- neutron-server
- neutron-dhcp-agent
- neutron-l3-agent
- neutron-lbaas-agent
- neutron-metadata-agent
- neutron-vpnaas-agent
- compute
- manila-share
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: neutron,
tags: neutron,
when: enable_neutron | bool }
- hosts:
- ceph-mon
- cinder-api
- cinder-backup
- cinder-scheduler
- cinder-volume
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: cinder,
tags: cinder,
when: enable_cinder | bool }
- hosts:
- heat-api
- heat-api-cfn
- heat-engine
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: heat,
tags: heat,
when: enable_heat | bool }
- hosts:
- horizon
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: horizon,
tags: horizon,
when: enable_horizon | bool }
- hosts:
- murano-api
- murano-engine
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: murano,
tags: murano,
when: enable_murano | bool }
- hosts:
- ironic-api
- ironic-conductor
- ironic-inspector
- ironic-pxe
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: ironic,
tags: ironic,
when: enable_ironic | bool }
- hosts:
- magnum-api
- magnum-conductor
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: magnum,
tags: magnum,
when: enable_magnum | bool }
- hosts:
- mistral-api
- mistral-engine
- mistral-executor
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: mistral,
tags: mistral,
when: enable_mistral | bool }
- hosts:
- sahara-api
- sahara-engine
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: sahara,
tags: sahara,
when: enable_sahara | bool }
- hosts:
- mongodb
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: mongodb,
tags: mongodb,
when: enable_mongodb | bool }
- hosts:
- manila-api
- manila-share
- manila-scheduler
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: manila,
tags: manila,
when: enable_manila | bool }
- hosts:
- gnocchi-api
- gnocchi-metricd
- gnocchi-statsd
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: gnocchi,
tags: gnocchi,
when: enable_gnocchi | bool }
- hosts:
- ceilometer
- compute
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: ceilometer,
tags: ceilometer,
when: enable_ceilometer | bool }
- hosts:
- aodh
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: aodh,
tags: aodh,
when: enable_aodh | bool }
- hosts:
- barbican-api
- barbican-keystone-listener
- barbican-worker
roles:
- { role: barbican,
tags: barbican,
when: enable_barbican | bool }
- hosts:
- congress-api
- congress-policy-engine
- congress-datasource
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: congress,
tags: congress,
when: enable_congress | bool }
- hosts:
- tempest
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: tempest,
tags: tempest,
when: enable_tempest | bool }
- hosts: rally
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: rally,
tags: rally,
when: enable_rally | bool }
- hosts:
- vmtp
roles:
- { role: vmtp,
tags: vmtp,
when: enable_vmtp | bool }
- hosts:
- watcher-api
- watcher-engine
- watcher-applier
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: watcher,
tags: watcher,
when: enable_watcher | bool }
- hosts:
- grafana
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: grafana,
tags: grafana,
when: enable_grafana | bool }
- hosts:
- cloudkitty-api
- cloudkitty-processor
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: cloudkitty,
tags: cloudkitty,
when: enable_cloudkitty | bool }
- hosts:
- senlin-api
- senlin-engine
serial: '{{ "30%" if action == "upgrade" else "0" }}'
roles:
- { role: senlin,
tags: senlin,
when: enable_senlin | bool }