Fix: Update Skyline stop task

Update Sykline stop task to use the
service-stop role to symplify the task
and make sure it is using kolla_container.

Authored-By: Roman Krček <roman.krcek@tietoevry.com>
Change-Id: I7b11359cee931273a058364160b64fe1fb606b5e
This commit is contained in:
Roman Krček 2024-05-15 10:17:06 +02:00
parent b8146efd1c
commit 6e06bee66f
2 changed files with 10 additions and 9 deletions

View File

@ -1,11 +1,6 @@
---
- name: "Stopping skyline containers"
- import_role:
name: service-stop
vars:
service: "{{ item.value }}"
docker_container:
name: "{{ service.container_name }}"
state: stopped
when:
- service.enabled | bool
- service.container_name not in skip_stop_containers
with_dict: "{{ skyline_services }}"
project_services: "{{ skyline_services }}"
service_name: "{{ project_name }}"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes skyline's old format of stop task.
It used docker_container which would cause
problems with podman deployments.