2017-01-23 10:21:53 -03:00
|
|
|
---
|
|
|
|
- name: Restart watcher-applier container
|
|
|
|
vars:
|
|
|
|
service_name: "watcher-applier"
|
|
|
|
service: "{{ watcher_services[service_name] }}"
|
2018-05-30 11:25:19 +07:00
|
|
|
become: true
|
2023-11-08 14:17:51 +01:00
|
|
|
kolla_container:
|
2017-01-23 10:21:53 -03:00
|
|
|
action: "recreate_or_restart_container"
|
|
|
|
common_options: "{{ docker_common_options }}"
|
|
|
|
name: "{{ service.container_name }}"
|
|
|
|
image: "{{ service.image }}"
|
2022-07-25 09:52:05 +02:00
|
|
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
2018-07-18 15:42:15 +05:30
|
|
|
dimensions: "{{ service.dimensions }}"
|
2021-03-03 18:22:38 +08:00
|
|
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
2017-01-23 10:21:53 -03:00
|
|
|
when:
|
2018-01-25 11:30:32 +08:00
|
|
|
- kolla_action != "config"
|
2017-01-23 10:21:53 -03:00
|
|
|
|
|
|
|
- name: Restart watcher-engine container
|
|
|
|
vars:
|
|
|
|
service_name: "watcher-engine"
|
|
|
|
service: "{{ watcher_services[service_name] }}"
|
2018-05-30 11:25:19 +07:00
|
|
|
become: true
|
2023-11-08 14:17:51 +01:00
|
|
|
kolla_container:
|
2017-01-23 10:21:53 -03:00
|
|
|
action: "recreate_or_restart_container"
|
|
|
|
common_options: "{{ docker_common_options }}"
|
|
|
|
name: "{{ service.container_name }}"
|
|
|
|
image: "{{ service.image }}"
|
2022-07-25 09:52:05 +02:00
|
|
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
2018-07-18 15:42:15 +05:30
|
|
|
dimensions: "{{ service.dimensions }}"
|
2021-03-03 18:22:38 +08:00
|
|
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
2017-01-23 10:21:53 -03:00
|
|
|
when:
|
2018-01-25 11:30:32 +08:00
|
|
|
- kolla_action != "config"
|
2017-01-23 10:21:53 -03:00
|
|
|
|
|
|
|
- name: Restart watcher-api container
|
|
|
|
vars:
|
|
|
|
service_name: "watcher-api"
|
|
|
|
service: "{{ watcher_services[service_name] }}"
|
2018-05-30 11:25:19 +07:00
|
|
|
become: true
|
2023-11-08 14:17:51 +01:00
|
|
|
kolla_container:
|
2017-01-23 10:21:53 -03:00
|
|
|
action: "recreate_or_restart_container"
|
|
|
|
common_options: "{{ docker_common_options }}"
|
|
|
|
name: "{{ service.container_name }}"
|
|
|
|
image: "{{ service.image }}"
|
2022-07-25 09:52:05 +02:00
|
|
|
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
|
2018-07-18 15:42:15 +05:30
|
|
|
dimensions: "{{ service.dimensions }}"
|
2021-03-03 18:22:38 +08:00
|
|
|
healthcheck: "{{ service.healthcheck | default(omit) }}"
|
2017-01-23 10:21:53 -03:00
|
|
|
when:
|
2018-01-25 11:30:32 +08:00
|
|
|
- kolla_action != "config"
|