update hookshot private key file mechanism

This commit is contained in:
HarHarLinks
2022-01-11 01:30:57 +01:00
parent 87871040df
commit 65991de61c
4 changed files with 15 additions and 4 deletions

View File

@ -47,6 +47,14 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure hookshot github private key file installed if github is enabled
copy:
src: github-key.pem
dest: "{{ matrix_hookshot_base_path }}/{{ matrix_hookshot_github_private_key }}"
mode: 0600
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure matrix-hookshot.service installed
template:
src: "{{ role_path }}/templates/systemd/matrix-hookshot.service.j2"