소스 검색

Merge pull request #1347 from GoMatrixHosting/gomatrixhosting-testing

Gomatrixhosting v0.6.3 hotfix2
pull/1348/head
Slavi Pantaleev 4 년 전
committed by GitHub
부모
커밋
35c91701a8
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일4개의 추가작업 그리고 8개의 파일을 삭제
  1. +4
    -8
      roles/matrix-common-after/tasks/awx_post.yml

+ 4
- 8
roles/matrix-common-after/tasks/awx_post.yml 파일 보기

@@ -63,19 +63,15 @@
mode: '0770'
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
command:
cat /matrix/appservice-discord/config/invite_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
debug:
msg: "{{ awx_discord_appservice_link.stdout }}"
when: awx_discord_appservice_link is defined
when: awx_discord_appservice_link.stdout is defined

불러오는 중...
취소
저장