|
|
@ -13,7 +13,7 @@
|
|
|
|
state: directory
|
|
|
|
state: directory
|
|
|
|
mode: 0750
|
|
|
|
mode: 0750
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
|
|
|
with_items:
|
|
|
|
with_items:
|
|
|
|
- "{{ matrix_appservice_webhooks_base_path }}"
|
|
|
|
- "{{ matrix_appservice_webhooks_base_path }}"
|
|
|
|
- "{{ matrix_appservice_webhooks_config_path }}"
|
|
|
|
- "{{ matrix_appservice_webhooks_config_path }}"
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
dest: "{{ matrix_appservice_webhooks_config_path }}/config.yaml"
|
|
|
|
dest: "{{ matrix_appservice_webhooks_config_path }}/config.yaml"
|
|
|
|
mode: 0644
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure Matrix Appservice webhooks schema.yml template exists
|
|
|
|
- name: Ensure Matrix Appservice webhooks schema.yml template exists
|
|
|
|
template:
|
|
|
|
template:
|
|
|
@ -33,7 +33,7 @@
|
|
|
|
dest: "{{ matrix_appservice_webhooks_config_path }}/schema.yml"
|
|
|
|
dest: "{{ matrix_appservice_webhooks_config_path }}/schema.yml"
|
|
|
|
mode: 0644
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure Matrix Appservice webhooks database.json template exists
|
|
|
|
- name: Ensure Matrix Appservice webhooks database.json template exists
|
|
|
|
template:
|
|
|
|
template:
|
|
|
@ -41,7 +41,7 @@
|
|
|
|
dest: "{{ matrix_appservice_webhooks_data_path }}/database.json"
|
|
|
|
dest: "{{ matrix_appservice_webhooks_data_path }}/database.json"
|
|
|
|
mode: 0644
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure appservice-webhooks registration.yaml installed
|
|
|
|
- name: Ensure appservice-webhooks registration.yaml installed
|
|
|
|
copy:
|
|
|
|
copy:
|
|
|
@ -49,7 +49,7 @@
|
|
|
|
dest: "{{ matrix_appservice_webhooks_config_path }}/webhooks-registration.yaml"
|
|
|
|
dest: "{{ matrix_appservice_webhooks_config_path }}/webhooks-registration.yaml"
|
|
|
|
mode: 0644
|
|
|
|
mode: 0644
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure matrix-appservice-webhooks.service installed
|
|
|
|
- name: Ensure matrix-appservice-webhooks.service installed
|
|
|
|
template:
|
|
|
|
template:
|
|
|
|