3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-01-14 03:45:21 +00:00

Use yaml syntax instead of key=value syntax consistently

fixes #62
This commit is contained in:
Jan Christian Grünhage
2019-01-07 23:35:35 +01:00
parent 5135c0cc0a
commit 29d10804f0
16 changed files with 195 additions and 64 deletions

View File

@@ -43,11 +43,15 @@
#
- name: Check existence of matrix-riot-web service
stat: path="/etc/systemd/system/matrix-riot-web.service"
stat:
path: "/etc/systemd/system/matrix-riot-web.service"
register: matrix_riot_web_service_stat
- name: Ensure matrix-riot-web is stopped
service: name=matrix-riot-web state=stopped daemon_reload=yes
service:
name: matrix-riot-web
state: stopped
daemon_reload: yes
register: stopping_result
when: "not matrix_riot_web_enabled and matrix_riot_web_service_stat.stat.exists"