mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-13 10:59:05 +03:00
Add service priorities - try to stop/start them in an optimal order
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
- name: Ensure Matrix services stopped
|
||||
ansible.builtin.service:
|
||||
name: "{{ item }}"
|
||||
name: "{{ item.name }}"
|
||||
state: stopped
|
||||
with_items: "{{ matrix_systemd_services_list }}"
|
||||
with_items: "{{ matrix_systemd_services_list | sort (attribute='priority,name', reverse=true) }}"
|
||||
|
||||
Reference in New Issue
Block a user