1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-09 00:56:22 +02:00

Fix template-instead-of-copy lint failures

This commit is contained in:
Evangelos Foutras 2022-09-18 23:04:11 +03:00
parent 2762e2f6fa
commit 2ed1fa1f29
No known key found for this signature in database
GPG Key ID: 51E8B148A9999C34
4 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@
register: tempfile
- name: Fill tempfile
copy: content="{{ lookup('template', 'authorized_keys.j2') }}" dest="{{ tempfile.path }}" mode=preserve
template: src=authorized_keys.j2 dest={{ tempfile.path }} mode=preserve
no_log: true
- name: Upload authorized_keys for Arch DevOps

View File

@ -1,5 +1,5 @@
- name: Fill tempfile
copy: content="{{ lookup('template', 'authorized_keys_client.j2') }}" dest="{{ tempfile.path }}" mode=preserve
template: src=authorized_keys_client.j2 dest={{ tempfile.path }} mode=preserve
no_log: true
- name: Upload authorized_keys file to {{ backup_dir }}/{{ item.item }}

View File

@ -229,7 +229,7 @@
notify:
- Restart synapse
- name: Install signing key
- name: Install signing key # noqa template-instead-of-copy
copy:
content: '{{ vault_matrix_secrets.signing_key }}'
dest: /etc/synapse/{{ matrix_server_name }}.signing.key
@ -237,7 +237,7 @@
group: synapse
mode: 0640
- name: Install ircpass key
- name: Install ircpass key # noqa template-instead-of-copy
copy:
content: '{{ vault_matrix_secrets.ircpass_key }}'
dest: /etc/synapse/{{ matrix_server_name }}.ircpass.key

View File

@ -18,7 +18,7 @@
register: tempfile
- name: Fill tempfile # noqa risky-file-permissions
copy: content="{{ lookup('template', 'authorized_keys.j2') }}" dest="{{ tempfile.path }}" mode=0644
template: src=authorized_keys.j2 dest={{ tempfile.path }} mode=0644
- name: Upload authorized_keys file
expect: