2015-03-28 17:16:24 -05:00
|
|
|
---
|
2016-09-26 09:37:11 -04:00
|
|
|
# NOTE(awiddersheim): Gather facts for all hosts as a
|
|
|
|
# first step since several plays below require them when
|
|
|
|
# building their configurations. The below 'gather_facts'
|
|
|
|
# set to 'false' is a bit confusing but this is to avoid
|
|
|
|
# Ansible gathering facts twice.
|
|
|
|
- name: Gather facts for all hosts
|
2016-11-15 17:14:35 +00:00
|
|
|
hosts: all
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-09-26 09:37:11 -04:00
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- setup:
|
|
|
|
tags: always
|
2016-09-13 10:10:43 +02:00
|
|
|
|
2016-11-15 17:14:35 +00:00
|
|
|
# NOTE(pbourke): This case covers deploying subsets of hosts using --limit. The
|
|
|
|
# limit arg will cause the first play to gather facts only about that node,
|
|
|
|
# meaning facts such as IP addresses for rabbitmq nodes etc. will be undefined
|
|
|
|
# in the case of adding a single compute node.
|
|
|
|
# We don't want to add the delegate parameters to the above play as it will
|
|
|
|
# result in ((num_nodes-1)^2) number of SSHs when running for all nodes
|
|
|
|
# which can be very inefficient.
|
|
|
|
- name: Gather facts for all hosts (if using --limit)
|
|
|
|
hosts: all
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- setup:
|
|
|
|
delegate_facts: True
|
|
|
|
delegate_to: "{{ item }}"
|
|
|
|
with_items: "{{ groups['all'] }}"
|
|
|
|
when:
|
|
|
|
- (play_hosts | length) != (groups['all'] | length)
|
|
|
|
|
2017-01-19 09:03:38 +08:00
|
|
|
- name: Detect openstack_release variable
|
|
|
|
hosts: all
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- name: Get current kolla-ansible version number
|
|
|
|
local_action: command python -c "import pbr.version; print(pbr.version.VersionInfo('kolla-ansible'))"
|
|
|
|
register: kolla_ansible_version
|
|
|
|
changed_when: false
|
|
|
|
when: openstack_release == "auto"
|
|
|
|
|
|
|
|
- name: Set openstack_release variable
|
|
|
|
set_fact:
|
|
|
|
openstack_release: "{{ kolla_ansible_version.stdout }}"
|
|
|
|
when: openstack_release == "auto"
|
2017-01-25 16:28:32 +08:00
|
|
|
tags: always
|
2017-01-19 09:03:38 +08:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role prechecks
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-11-03 14:48:58 +08:00
|
|
|
- all
|
|
|
|
roles:
|
|
|
|
- role: prechecks
|
|
|
|
when: action == "precheck"
|
|
|
|
|
2016-10-24 15:16:24 +02:00
|
|
|
- name: Apply role chrony
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-10-24 15:16:24 +02:00
|
|
|
hosts:
|
|
|
|
- chrony-server
|
|
|
|
- chrony
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: chrony,
|
|
|
|
tags: chrony,
|
|
|
|
when: enable_chrony | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role collectd
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: collectd
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-09-09 10:20:18 +01:00
|
|
|
roles:
|
|
|
|
- { role: collectd,
|
|
|
|
tags: collectd,
|
|
|
|
when: enable_collectd | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role elasticsearch
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: elasticsearch
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-03-23 18:16:04 -04:00
|
|
|
roles:
|
|
|
|
- { role: elasticsearch,
|
|
|
|
tags: elasticsearch,
|
2016-05-23 17:45:52 +02:00
|
|
|
when: enable_elasticsearch | bool }
|
2016-03-23 18:16:04 -04:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role influxdb
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: influxdb
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-07-27 06:23:29 +00:00
|
|
|
roles:
|
|
|
|
- { role: influxdb,
|
|
|
|
tags: influxdb,
|
|
|
|
when: enable_influxdb | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role telegraf
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-07-23 17:34:03 +00:00
|
|
|
- telegraf
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-07-23 17:34:03 +00:00
|
|
|
roles:
|
|
|
|
- { role: telegraf,
|
|
|
|
tags: telegraf,
|
|
|
|
when: enable_telegraf | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role haproxy
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-09-26 09:37:11 -04:00
|
|
|
- haproxy
|
2015-07-17 12:20:31 +02:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: haproxy,
|
|
|
|
tags: haproxy,
|
|
|
|
when: enable_haproxy | bool }
|
2015-07-17 12:20:31 +02:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role kibana
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: kibana
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-01-20 08:27:00 +01:00
|
|
|
roles:
|
|
|
|
- { role: kibana,
|
|
|
|
tags: kibana,
|
2016-05-23 17:45:52 +02:00
|
|
|
when: enable_kibana | bool }
|
2016-01-14 11:06:29 +01:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role memcached
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: memcached
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-10-15 08:54:36 +00:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: memcached,
|
|
|
|
tags: [memcache, memcached],
|
|
|
|
when: enable_memcached | bool }
|
2015-10-15 08:54:36 +00:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role mariadb
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: mariadb
|
2015-03-28 17:16:24 -05:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: mariadb,
|
|
|
|
tags: mariadb,
|
|
|
|
when: enable_mariadb | bool }
|
2015-03-28 17:16:24 -05:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role iscsi
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-03-31 10:40:55 -04:00
|
|
|
- iscsid
|
|
|
|
- tgtd
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-03-31 10:40:55 -04:00
|
|
|
roles:
|
|
|
|
- { role: iscsi,
|
|
|
|
tags: iscsi,
|
2016-08-17 18:07:10 +03:00
|
|
|
when: enable_iscsid | bool }
|
2016-03-31 10:40:55 -04:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role multipathd
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-07-08 13:34:04 -03:00
|
|
|
- multipathd
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-07-08 13:34:04 -03:00
|
|
|
roles:
|
|
|
|
- { role: multipathd,
|
|
|
|
tags: multipathd,
|
|
|
|
when: enable_multipathd | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role rabbitmq
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: rabbitmq
|
2015-03-28 17:16:24 -05:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: rabbitmq,
|
|
|
|
tags: rabbitmq,
|
|
|
|
when: enable_rabbitmq | bool }
|
2015-05-02 22:45:36 +08:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role etcd
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: etcd
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-09-02 00:48:01 -04:00
|
|
|
roles:
|
|
|
|
- { role: etcd,
|
|
|
|
tags: etcd,
|
|
|
|
when: enable_etcd | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role keystone
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-25 06:21:35 +08:00
|
|
|
hosts: keystone
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-05-02 22:45:36 +08:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: keystone,
|
|
|
|
tags: keystone,
|
|
|
|
when: enable_keystone | bool }
|
2015-07-04 12:47:45 +00:00
|
|
|
|
2016-12-05 21:50:33 +08:00
|
|
|
- name: Apply role ceph
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-12-05 21:50:33 +08:00
|
|
|
hosts:
|
|
|
|
- ceph-mon
|
|
|
|
- ceph-osd
|
|
|
|
- ceph-rgw
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: ceph,
|
|
|
|
tags: ceph,
|
|
|
|
when: enable_ceph | bool }
|
|
|
|
|
2016-11-25 06:21:35 +08:00
|
|
|
- name: Apply role karbor
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-25 06:21:35 +08:00
|
|
|
hosts: karbor
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: karbor,
|
|
|
|
tags: karbor,
|
|
|
|
when: enable_karbor | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role swift
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2015-10-16 07:58:34 +00:00
|
|
|
- swift-account-server
|
|
|
|
- swift-container-server
|
|
|
|
- swift-object-server
|
|
|
|
- swift-proxy-server
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-08-18 14:05:54 +00:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: swift,
|
|
|
|
tags: swift,
|
|
|
|
when: enable_swift | bool }
|
2015-08-18 14:05:54 +00:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role glance
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2015-11-03 05:47:47 +00:00
|
|
|
- ceph-mon
|
|
|
|
- glance-api
|
|
|
|
- glance-registry
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-07-04 12:47:45 +00:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: glance,
|
|
|
|
tags: glance,
|
|
|
|
when: enable_glance | bool }
|
2015-07-12 03:02:33 +00:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role ironic
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-10-18 10:58:48 +08:00
|
|
|
- ironic-api
|
|
|
|
- ironic-conductor
|
|
|
|
- ironic-inspector
|
|
|
|
- ironic-pxe
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: ironic,
|
|
|
|
tags: ironic,
|
|
|
|
when: enable_ironic | bool }
|
|
|
|
|
2017-03-07 22:03:50 +08:00
|
|
|
- name: Apply role cinder
|
|
|
|
gather_facts: false
|
|
|
|
hosts:
|
|
|
|
- ceph-mon
|
|
|
|
- cinder-api
|
|
|
|
- cinder-backup
|
|
|
|
- cinder-scheduler
|
|
|
|
- cinder-volume
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: cinder,
|
|
|
|
tags: cinder,
|
|
|
|
when: enable_cinder | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role nova
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2015-11-03 05:47:47 +00:00
|
|
|
- ceph-mon
|
|
|
|
- compute
|
|
|
|
- nova-api
|
|
|
|
- nova-conductor
|
|
|
|
- nova-consoleauth
|
|
|
|
- nova-novncproxy
|
|
|
|
- nova-scheduler
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-07-12 03:02:33 +00:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: nova,
|
|
|
|
tags: nova,
|
|
|
|
when: enable_nova | bool }
|
2015-07-13 07:32:29 +00:00
|
|
|
|
2017-03-31 10:42:02 -07:00
|
|
|
- name: Apply role openvswitch
|
|
|
|
hosts:
|
|
|
|
- openvswitch
|
|
|
|
roles:
|
|
|
|
- { role: openvswitch,
|
|
|
|
tags: openvswitch,
|
|
|
|
when: enable_openvswitch | bool }
|
|
|
|
|
2016-04-01 13:55:14 -07:00
|
|
|
# (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
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role neutron
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-03-31 04:04:27 -04:00
|
|
|
- neutron-server
|
2016-01-26 19:50:43 +00:00
|
|
|
- neutron-dhcp-agent
|
|
|
|
- neutron-l3-agent
|
2016-05-10 20:26:58 +00:00
|
|
|
- neutron-lbaas-agent
|
2016-01-26 19:50:43 +00:00
|
|
|
- neutron-metadata-agent
|
2016-06-29 15:34:18 +02:00
|
|
|
- neutron-vpnaas-agent
|
2016-03-31 04:04:27 -04:00
|
|
|
- compute
|
|
|
|
- manila-share
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-07-13 07:32:29 +00:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: neutron,
|
|
|
|
tags: neutron,
|
|
|
|
when: enable_neutron | bool }
|
2015-08-04 07:39:22 +00:00
|
|
|
|
2017-02-13 14:06:24 -08:00
|
|
|
- name: Apply role kuryr
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2017-02-13 14:06:24 -08:00
|
|
|
hosts:
|
|
|
|
- compute
|
|
|
|
roles:
|
|
|
|
- { role: kuryr,
|
|
|
|
tags: kuryr,
|
|
|
|
when: enable_kuryr | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role heat
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2015-11-03 05:47:47 +00:00
|
|
|
- heat-api
|
|
|
|
- heat-api-cfn
|
|
|
|
- heat-engine
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-08-02 12:26:30 -07:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: heat,
|
|
|
|
tags: heat,
|
|
|
|
when: enable_heat | bool }
|
2015-08-02 12:26:30 -07:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role horizon
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-03-19 16:42:26 +00:00
|
|
|
- horizon
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-08-10 14:08:59 -04:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: horizon,
|
|
|
|
tags: horizon,
|
|
|
|
when: enable_horizon | bool }
|
2015-08-28 10:49:29 +01:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role murano
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2015-11-03 05:47:47 +00:00
|
|
|
- murano-api
|
|
|
|
- murano-engine
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-08-28 10:49:29 +01:00
|
|
|
roles:
|
2015-11-03 05:47:47 +00:00
|
|
|
- { role: murano,
|
|
|
|
tags: murano,
|
|
|
|
when: enable_murano | bool }
|
2015-08-28 11:26:40 -04:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role solum
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-11-25 06:14:51 +08:00
|
|
|
- solum-api
|
|
|
|
- solum-worker
|
|
|
|
- solum-deployer
|
|
|
|
- solum-conductor
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: solum,
|
|
|
|
tags: solum,
|
|
|
|
when: enable_solum | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role magnum
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2015-10-17 18:13:51 +02:00
|
|
|
- magnum-api
|
|
|
|
- magnum-conductor
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-10-17 18:13:51 +02:00
|
|
|
roles:
|
|
|
|
- { role: magnum,
|
|
|
|
tags: magnum,
|
|
|
|
when: enable_magnum | bool }
|
2015-12-28 08:38:30 +09:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role mistral
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2015-12-28 08:38:30 +09:00
|
|
|
- mistral-api
|
|
|
|
- mistral-engine
|
|
|
|
- mistral-executor
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2015-12-28 08:38:30 +09:00
|
|
|
roles:
|
|
|
|
- { role: mistral,
|
|
|
|
tags: mistral,
|
|
|
|
when: enable_mistral | bool }
|
2016-01-18 21:00:45 +00:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role sahara
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-08-04 17:20:20 +00:00
|
|
|
- sahara-api
|
|
|
|
- sahara-engine
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-08-04 17:20:20 +00:00
|
|
|
roles:
|
|
|
|
- { role: sahara,
|
|
|
|
tags: sahara,
|
|
|
|
when: enable_sahara | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role mongodb
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-01-18 21:00:45 +00:00
|
|
|
- mongodb
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-01-18 21:00:45 +00:00
|
|
|
roles:
|
|
|
|
- { role: mongodb,
|
|
|
|
tags: mongodb,
|
|
|
|
when: enable_mongodb | bool }
|
2016-03-01 10:46:48 -05:00
|
|
|
|
2017-02-27 17:01:55 +08:00
|
|
|
- name: Apply role panko
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2017-02-27 17:01:55 +08:00
|
|
|
hosts: panko-api
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: panko,
|
|
|
|
tags: panko,
|
|
|
|
when: enable_panko | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role manila
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-03-01 10:46:48 -05:00
|
|
|
- manila-api
|
2016-10-20 17:19:47 -03:00
|
|
|
- manila-data
|
2016-03-01 10:46:48 -05:00
|
|
|
- manila-share
|
|
|
|
- manila-scheduler
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-03-01 10:46:48 -05:00
|
|
|
roles:
|
|
|
|
- { role: manila,
|
|
|
|
tags: manila,
|
|
|
|
when: enable_manila | bool }
|
2016-03-29 13:25:43 -04:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role gnocchi
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-08-01 05:17:43 +00:00
|
|
|
- gnocchi-api
|
|
|
|
- gnocchi-metricd
|
|
|
|
- gnocchi-statsd
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-08-01 05:17:43 +00:00
|
|
|
roles:
|
|
|
|
- { role: gnocchi,
|
|
|
|
tags: gnocchi,
|
|
|
|
when: enable_gnocchi | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role ceilometer
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2017-03-13 13:26:43 +08:00
|
|
|
vars_files:
|
|
|
|
- "roles/panko/defaults/main.yml"
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-03-29 13:25:43 -04:00
|
|
|
- ceilometer
|
|
|
|
- compute
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-03-29 13:25:43 -04:00
|
|
|
roles:
|
|
|
|
- { role: ceilometer,
|
|
|
|
tags: ceilometer,
|
|
|
|
when: enable_ceilometer | bool }
|
2016-05-26 20:58:03 +08:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role aodh
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-08-04 06:51:11 +00:00
|
|
|
- aodh
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-08-04 06:51:11 +00:00
|
|
|
roles:
|
|
|
|
- { role: aodh,
|
|
|
|
tags: aodh,
|
|
|
|
when: enable_aodh | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role barbican
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-08-08 16:48:11 +00:00
|
|
|
- barbican-api
|
|
|
|
- barbican-keystone-listener
|
|
|
|
- barbican-worker
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-08-08 16:48:11 +00:00
|
|
|
roles:
|
|
|
|
- { role: barbican,
|
|
|
|
tags: barbican,
|
|
|
|
when: enable_barbican | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role congress
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-08-17 10:09:42 +00:00
|
|
|
- congress-api
|
|
|
|
- congress-policy-engine
|
|
|
|
- congress-datasource
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-08-17 10:09:42 +00:00
|
|
|
roles:
|
|
|
|
- { role: congress,
|
|
|
|
tags: congress,
|
|
|
|
when: enable_congress | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role tempest
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-05-26 20:58:03 +08:00
|
|
|
- tempest
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-05-26 20:58:03 +08:00
|
|
|
roles:
|
|
|
|
- { role: tempest,
|
|
|
|
tags: tempest,
|
|
|
|
when: enable_tempest | bool }
|
2016-07-05 09:47:21 +01:00
|
|
|
|
2016-08-10 15:48:32 +10:00
|
|
|
- name: Apply role designate
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-08-10 15:48:32 +10:00
|
|
|
hosts:
|
|
|
|
- designate-api
|
|
|
|
- designate-central
|
|
|
|
- designate-mdns
|
|
|
|
- designate-worker
|
|
|
|
- designate-sink
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: designate,
|
|
|
|
tags: designate,
|
|
|
|
when: enable_designate | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role rally
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts: rally
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-08-31 07:46:41 +00:00
|
|
|
roles:
|
|
|
|
- { role: rally,
|
|
|
|
tags: rally,
|
|
|
|
when: enable_rally | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role vmtp
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-08-21 01:01:04 -05:00
|
|
|
- vmtp
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-08-21 01:01:04 -05:00
|
|
|
roles:
|
|
|
|
- { role: vmtp,
|
|
|
|
tags: vmtp,
|
|
|
|
when: enable_vmtp | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role trove
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-08-12 18:43:02 +00:00
|
|
|
- trove-api
|
|
|
|
- trove-conductor
|
|
|
|
- trove-taskmanager
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: trove,
|
|
|
|
tags: trove,
|
|
|
|
when: enable_trove | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role watcher
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-07-05 09:47:21 +01:00
|
|
|
- watcher-api
|
|
|
|
- watcher-engine
|
|
|
|
- watcher-applier
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-07-05 09:47:21 +01:00
|
|
|
roles:
|
|
|
|
- { role: watcher,
|
|
|
|
tags: watcher,
|
|
|
|
when: enable_watcher | bool }
|
2016-08-01 02:27:39 +02:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role grafana
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-07-27 07:02:04 +00:00
|
|
|
- grafana
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-07-27 07:02:04 +00:00
|
|
|
roles:
|
|
|
|
- { role: grafana,
|
|
|
|
tags: grafana,
|
|
|
|
when: enable_grafana | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role cloudkitty
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-08-01 02:27:39 +02:00
|
|
|
- cloudkitty-api
|
|
|
|
- cloudkitty-processor
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-08-01 02:27:39 +02:00
|
|
|
roles:
|
|
|
|
- { role: cloudkitty,
|
|
|
|
tags: cloudkitty,
|
|
|
|
when: enable_cloudkitty | bool }
|
2016-07-08 19:12:50 +02:00
|
|
|
|
2017-01-19 18:42:12 +08:00
|
|
|
- name: Apply role freezer
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2017-01-19 18:42:12 +08:00
|
|
|
hosts:
|
|
|
|
- freezer-api
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: freezer,
|
|
|
|
tags: freezer,
|
|
|
|
when: enable_freezer | bool }
|
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role senlin
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-07-08 19:12:50 +02:00
|
|
|
- senlin-api
|
|
|
|
- senlin-engine
|
2016-09-17 10:31:36 +08:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-07-08 19:12:50 +02:00
|
|
|
roles:
|
|
|
|
- { role: senlin,
|
|
|
|
tags: senlin,
|
|
|
|
when: enable_senlin | bool }
|
2016-10-18 16:36:05 +08:00
|
|
|
|
2016-11-30 16:23:36 +01:00
|
|
|
- name: Apply role searchlight
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:23:36 +01:00
|
|
|
hosts:
|
2016-10-18 16:36:05 +08:00
|
|
|
- searchlight-api
|
|
|
|
- searchlight-listener
|
2016-10-21 14:27:24 -03:00
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-10-18 16:36:05 +08:00
|
|
|
roles:
|
|
|
|
- { role: searchlight,
|
|
|
|
tags: searchlight,
|
|
|
|
when: enable_searchlight | bool }
|
2016-11-15 18:51:52 +00:00
|
|
|
|
2016-12-07 00:30:14 +08:00
|
|
|
- name: Apply role tacker
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-12-07 00:30:14 +08:00
|
|
|
hosts: tacker
|
2016-11-15 18:51:52 +00:00
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: tacker,
|
|
|
|
tags: tacker,
|
|
|
|
when: enable_tacker | bool }
|
2016-11-30 16:45:00 +08:00
|
|
|
|
|
|
|
- name: Apply role octavia
|
2017-02-24 11:59:15 +00:00
|
|
|
gather_facts: false
|
2016-11-30 16:45:00 +08:00
|
|
|
hosts:
|
|
|
|
- octavia-api
|
|
|
|
- octavia-health-manager
|
|
|
|
- octavia-housekeeping
|
|
|
|
- octavia-worker
|
|
|
|
serial: '{{ serial|default("0") }}'
|
2016-12-13 21:57:03 +08:00
|
|
|
roles:
|
|
|
|
- { role: octavia,
|
|
|
|
tags: octavia,
|
|
|
|
when: enable_octavia | bool }
|
2017-01-03 08:45:53 +00:00
|
|
|
|
|
|
|
- name: Apply role zun
|
|
|
|
gather_facts: false
|
|
|
|
hosts:
|
|
|
|
- zun-api
|
|
|
|
- zun-compute
|
|
|
|
serial: '{{ serial|default("0") }}'
|
|
|
|
roles:
|
|
|
|
- { role: zun,
|
|
|
|
tags: zun,
|
|
|
|
when: enable_zun | bool }
|