diff -r edb53dfadfb5 -r b86f3fc9fb6f matrix-synapse/tasks/main.yaml --- a/matrix-synapse/tasks/main.yaml Sat Jun 13 14:58:31 2020 -0500 +++ b/matrix-synapse/tasks/main.yaml Sun Jun 14 11:40:43 2020 -0500 @@ -21,6 +21,26 @@ default_release: "buster-backports" notify: restart matrix synapse service +- name: create log file + become: yes + file: + path: "/var/log/matrix-synapse/homeserver.log" + owner: "matrix-synapse" + group: "root" + state: "touch" + mode: "0644" + changed_when: false + +- name: create media data dir + become: yes + file: + path: "{{matrix_synapse_media_store}}" + owner: "matrix-synapse" + group: "root" + state: "directory" + recurse: yes + mode: "0750" + - name: configure matrix synapse become: yes template: