dcf5a8b65f
ansible-lint introduced var-spacing - let's fix our code. Change-Id: I0d8aaf3c522a5a6a5495032f6dbed8a2be0251f0
28 lines
797 B
YAML
28 lines
797 B
YAML
---
|
|
- import_tasks: config.yml
|
|
|
|
- import_tasks: cleanup.yml
|
|
|
|
- import_tasks: check-containers.yml
|
|
|
|
- import_tasks: register.yml
|
|
|
|
- import_tasks: bootstrap_service.yml
|
|
|
|
# NOTE(sshambar): We don't want pre-upgrade monasca-thresh instances
|
|
# running in local mode after an upgrade, so stop them.
|
|
# The first node will be replaced with the submission container in the
|
|
# handlers below.
|
|
- name: Stopping all monasca-thresh instances but the first node
|
|
become: true
|
|
kolla_docker:
|
|
action: "stop_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "{{ monasca_services['monasca-thresh']['container_name'] }}"
|
|
when:
|
|
- inventory_hostname in groups['monasca-thresh']
|
|
- inventory_hostname != groups['monasca-thresh'] | first
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|