Sfoglia il codice sorgente

Merge pull request #1347 from GoMatrixHosting/gomatrixhosting-testing

Gomatrixhosting v0.6.3 hotfix2
pull/1348/head
Slavi Pantaleev 4 anni fa
committed by GitHub
parent
commit
35c91701a8
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 4 aggiunte e 8 eliminazioni
  1. +4
    -8
      roles/matrix-common-after/tasks/awx_post.yml

+ 4
- 8
roles/matrix-common-after/tasks/awx_post.yml Vedi File

@@ -63,19 +63,15 @@
mode: '0770' mode: '0770'
when: awx_customise_base_domain_website is defined when: awx_customise_base_domain_website is defined


- name: Check if Discord AppService invite file exists
stat:
path: /matrix/appservice-discord/config/invite_link
register: awx_discord_appservice_link_file
when: ( awx_appservice_discord_admin_user is defined )

- name: Collect Discord AppService bot invite link if file exists - name: Collect Discord AppService bot invite link if file exists
command: command:
cat /matrix/appservice-discord/config/invite_link cat /matrix/appservice-discord/config/invite_link
register: awx_discord_appservice_link register: awx_discord_appservice_link
when: ( awx_discord_appservice_link_file.stat.exists == true ) and ( awx_appservice_discord_admin_user is defined )
when: awx_appservice_discord_admin_user is defined
args:
removes: /matrix/appservice-discord/config/invite_link


- name: Print Discord AppService bot link for user - name: Print Discord AppService bot link for user
debug: debug:
msg: "{{ awx_discord_appservice_link.stdout }}" msg: "{{ awx_discord_appservice_link.stdout }}"
when: awx_discord_appservice_link is defined
when: awx_discord_appservice_link.stdout is defined

Caricamento…
Annulla
Salva