mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-19 10:32:37 +00:00
18 lines
375 B
YAML
18 lines
375 B
YAML
|
---
|
||
|
|
||
|
- name: Ensure systemd reloaded
|
||
|
service:
|
||
|
daemon_reload: yes
|
||
|
|
||
|
- name: Ensure Matrix services stopped
|
||
|
service:
|
||
|
name: "{{ item }}"
|
||
|
state: stopped
|
||
|
with_items: "{{ matrix_systemd_services_list }}"
|
||
|
|
||
|
- name: Ensure Matrix services started
|
||
|
service:
|
||
|
name: "{{ item }}"
|
||
|
enabled: yes
|
||
|
state: started
|
||
|
with_items: "{{ matrix_systemd_services_list }}"
|