10bf6b05fa
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>
20 lines
553 B
YAML
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
|