update hookshot private key installation method
This commit is contained in:
@ -64,12 +64,12 @@
|
||||
|
||||
- name: Ensure hookshot github private key file installed if github is enabled
|
||||
copy:
|
||||
src: private-key.pem
|
||||
dest: "{{ matrix_hookshot_base_path }}/{{ matrix_hookshot_github_private_key }}"
|
||||
mode: 0600
|
||||
content: "{{ matrix_hookshot_github_private_key }}"
|
||||
dest: "{{ matrix_hookshot_base_path }}/{{ matrix_hookshot_github_private_key_file }}"
|
||||
mode: 0400
|
||||
owner: "{{ matrix_user_username }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
||||
when: "matrix_hookshot_github_enabled|bool"
|
||||
when: "{{ matrix_hookshot_github_enabled|bool and matrix_hookshot_github_private_key|length }}"
|
||||
|
||||
- name: Ensure matrix-hookshot.service installed
|
||||
template:
|
||||
|
Reference in New Issue
Block a user