From 478d69dabb54696bedc5224ef916030d666130fa Mon Sep 17 00:00:00 2001 From: saibotk Date: Thu, 5 Nov 2020 02:36:07 +0100 Subject: [PATCH] matrix: Formatting --- roles/matrix/handlers/main.yml | 2 +- roles/matrix/tasks/main.yml | 7 ++++--- roles/matrix/templates/client-delegation.json | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/roles/matrix/handlers/main.yml b/roles/matrix/handlers/main.yml index d0278b2..b1d3e18 100644 --- a/roles/matrix/handlers/main.yml +++ b/roles/matrix/handlers/main.yml @@ -23,7 +23,7 @@ services: - delegate state: present - project_src: "{{ matrix_install_location }}" + project_src: "{{ matrix_install_location }}" restarted: yes tags: - docker diff --git a/roles/matrix/tasks/main.yml b/roles/matrix/tasks/main.yml index 9eeff18..baa9e59 100644 --- a/roles/matrix/tasks/main.yml +++ b/roles/matrix/tasks/main.yml @@ -70,7 +70,7 @@ src: "{{ item }}" dest: "{{ matrix_install_location }}/{{ item }}" setype: "container_file_t" - mode: 0644 + mode: '0644' owner: 'root' group: 'root' with_items: @@ -86,7 +86,7 @@ src: "delegate-nginx.conf" dest: "{{ matrix_install_location }}/nginx.conf" setype: "container_file_t" - mode: 0600 + mode: '0600' owner: 'root' group: 'root' tags: @@ -109,7 +109,8 @@ become: true - name: Check if homeserver.yaml (config) exists - stat: path="{{ matrix_data_location }}/homeserver.yaml" + stat: + path: "{{ matrix_data_location }}/homeserver.yaml" register: matrix_synapse_homeserver_yaml tags: - docker diff --git a/roles/matrix/templates/client-delegation.json b/roles/matrix/templates/client-delegation.json index b88c12f..3eb6ce4 100644 --- a/roles/matrix/templates/client-delegation.json +++ b/roles/matrix/templates/client-delegation.json @@ -2,4 +2,4 @@ "m.homeserver": { "base_url": "https://{{ matrix_synapse_domain }}" } - } +}