fix: all praise the allmighty yamllinter

This commit is contained in:
Marko Weltzer
2022-02-05 21:32:54 +01:00
parent d3983a0f04
commit 7e5b88c3b7
373 changed files with 1565 additions and 1296 deletions

View File

@ -1,4 +1,5 @@
---
- import_tasks: "{{ role_path }}/tasks/dendrite/setup_install.yml"
when: matrix_dendrite_enabled|bool

View File

@ -4,7 +4,7 @@
stat:
path: "{{ matrix_dendrite_media_store_path }}"
register: local_path_media_store_stat
ignore_errors: yes
ignore_errors: true
# This is separate and conditional, to ensure we don't execute it
# if the path already exists or we failed to check, because it's mounted using fuse.
@ -67,7 +67,7 @@
- name: Ensure systemd reloaded after matrix-dendrite.service installation
service:
daemon_reload: yes
daemon_reload: true
when: "matrix_dendrite_systemd_service_result.changed|bool"
- name: Ensure matrix-dendrite-create-account script created

View File

@ -1,3 +1,5 @@
---
- name: Check existence of matrix-dendrite service
stat:
path: "{{ matrix_systemd_path }}/matrix-dendrite.service"
@ -7,7 +9,7 @@
service:
name: matrix-dendrite
state: stopped
daemon_reload: yes
daemon_reload: true
register: stopping_result
when: "matrix_dendrite_service_stat.stat.exists"
@ -19,7 +21,7 @@
- name: Ensure systemd reloaded after matrix-dendrite.service removal
service:
daemon_reload: yes
daemon_reload: true
when: "matrix_dendrite_service_stat.stat.exists"
- name: Ensure Dendrite Docker image doesn't exist