kolla-ansible/ansible/roles/freezer/tasks/deploy.yml
Marek Svensson 10bf6b05fa Fix default deployment of freezer, use mariadb.
This change defaults freezer to use mariadb as default backend for database
and adds elasticsearch as an optional backend due to the requirement of
freezer to use elasticsearch version 2.3.0. The default elasticsearch in
kolla-ansible is 5.6.x and that doesn't work with freezer.

Added needed options to the elasticsearch backend like:
 - protocol
 - address
 - port
 - number of replicas

Change-Id: I88616c285bdb297fd1f738846ddffe1b08a7a827
Signed-off-by: Marek Svensson <marek@marex.st>
2019-06-18 15:12:36 -04:00

20 lines
553 B
YAML

---
- include_tasks: register.yml
when: inventory_hostname in groups['freezer-api']
- include_tasks: config.yml
when: inventory_hostname in groups['freezer-api'] or
inventory_hostname in groups['freezer-scheduler']
- include_tasks: bootstrap.yml
when: freezer_database_backend == 'mariadb' and inventory_hostname in groups['freezer-api']
- include_tasks: bootstrap_service.yml
when: inventory_hostname in groups['freezer-api']
- include_tasks: clone.yml
when: freezer_dev_mode | bool
- name: Flush handlers
meta: flush_handlers