add noqa for linter

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2023-04-11 07:37:07 +02:00
1 parent ea922f6dca
commit bc9795c215
5 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@
check_mode: false
when: ssh_server_hardening | bool
- name: Remove all small primes
- name: Remove all small primes # noqa no-changed-when
ansible.builtin.shell: >
awk '$5 >= {{ sshd_moduli_minimum }}' {{ sshd_moduli_file }} > {{ sshd_moduli_file }}.new ; [ -r {{ sshd_moduli_file }}.new
-a -s {{ sshd_moduli_file }}.new ] && mv {{ sshd_moduli_file }}.new {{ sshd_moduli_file }} || true