Sfoglia il codice sorgente

update hookshot github private key path and install condition

pull/1505/head
HarHarLinks 4 anni fa
parent
commit
23d6b2d3da
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +2
    -2
      roles/matrix-bridge-hookshot/defaults/main.yml
  2. +1
    -0
      roles/matrix-bridge-hookshot/tasks/setup_install.yml

+ 2
- 2
roles/matrix-bridge-hookshot/defaults/main.yml Vedi File

@@ -35,8 +35,8 @@ matrix_hookshot_webhook_endpoint: "{{ matrix_hookshot_public_endpoint }}/webhook
# https://half-shot.github.io/matrix-hookshot/setup/github.html # https://half-shot.github.io/matrix-hookshot/setup/github.html
matrix_hookshot_github_enabled: false matrix_hookshot_github_enabled: false
matrix_hookshot_github_appid: '' matrix_hookshot_github_appid: ''
# manually copy the generated and downloaded GitHub private key to /roles/matrix-bridge-hookshot/files/github-key.pem
matrix_hookshot_github_private_key: 'github-key.pem'
# manually copy the generated and downloaded GitHub private key to roles/matrix-bridge-hookshot/files/private-key.pem
matrix_hookshot_github_private_key: 'private-key.pem'
matrix_hookshot_github_secret: '' # "Webhook secret" on the GitHub App page matrix_hookshot_github_secret: '' # "Webhook secret" on the GitHub App page
matrix_hookshot_github_oauth_enabled: false matrix_hookshot_github_oauth_enabled: false
# you need to configure oauth settings only when you have enabled oauth (optional) # you need to configure oauth settings only when you have enabled oauth (optional)


+ 1
- 0
roles/matrix-bridge-hookshot/tasks/setup_install.yml Vedi File

@@ -70,6 +70,7 @@
mode: 0600 mode: 0600
owner: "{{ matrix_user_username }}" owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}" group: "{{ matrix_user_groupname }}"
when: "matrix_hookshot_github_enabled|bool"


- name: Ensure matrix-hookshot.service installed - name: Ensure matrix-hookshot.service installed
template: template:


Caricamento…
Annulla
Salva