matrix-webhooks: Fix idempotency for appservice registration creation
This commit is contained in:
parent
9448ec9995
commit
7fa3ed71a2
1 changed files with 3 additions and 3 deletions
|
@ -81,12 +81,12 @@
|
|||
become: true
|
||||
|
||||
- name: Generate webhooks registration
|
||||
command: 'docker-compose run appservice-webhooks node index.js -r \
|
||||
ansible.builtin.command:
|
||||
cmd: 'docker-compose run appservice-webhooks node index.js -r \
|
||||
-f /data/appservice-registration-webhooks.yaml \
|
||||
-u "https://{{ matrix_webhooks_domain }}" -c /data/config.yaml'
|
||||
args:
|
||||
chdir: "{{ matrix_webhooks_install_location }}"
|
||||
creates: "{{ matrix_webhooks_install_location }}/appservice-registration-webhooks.yaml"
|
||||
creates: "{{ matrix_webhooks_data_location }}/appservice-registration-webhooks.yaml"
|
||||
become: true
|
||||
|
||||
- name: Compose matrix-webhooks
|
||||
|
|
Loading…
Add table
Reference in a new issue