Skip to content
Snippets Groups Projects
Verified Commit 2ed1fa1f authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Fix template-instead-of-copy lint failures

parent 2762e2f6
Branches keycloak-password-reset-time
No related tags found
1 merge request!631Fix lint warnings and errors with ansible-lint 6.6.0
Pipeline #30157 failed
......@@ -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
......
- 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 }}
......
......@@ -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
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment