Relocate fail check to a better place
This commit is contained in:
parent
60c7af93fe
commit
e693b12d28
@ -1,10 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Fail if Macaroon key is missing
|
|
||||||
fail:
|
|
||||||
msg: "You need to set a secret in the matrix_synapse_macaroon_secret_key variable"
|
|
||||||
when: "matrix_synapse_macaroon_secret_key == ''"
|
|
||||||
|
|
||||||
# This will throw a Permission Denied error if already mounted using fuse
|
# This will throw a Permission Denied error if already mounted using fuse
|
||||||
- name: Check Matrix Synapse media store path
|
- name: Check Matrix Synapse media store path
|
||||||
stat: path="{{ matrix_synapse_media_store_path }}"
|
stat: path="{{ matrix_synapse_media_store_path }}"
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Fail if Macaroon key is missing
|
||||||
|
fail:
|
||||||
|
msg: "You need to set a secret in the matrix_synapse_macaroon_secret_key variable"
|
||||||
|
when: "matrix_synapse_macaroon_secret_key == ''"
|
||||||
|
|
||||||
- name: Ensure Matrix Synapse paths exist
|
- name: Ensure Matrix Synapse paths exist
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user