fix(ssh): fix typo that prevented allowed ciphers..

from being set in the sshd config
This commit is contained in:
Sammy 2023-12-19 12:15:37 +01:00
parent 24ae029f01
commit 74d09b4416
No known key found for this signature in database
GPG key ID: C99355AC01BC7575

View file

@ -111,7 +111,7 @@
- Ciphers - Ciphers
changed_when: false changed_when: false
check_mode: false check_mode: false
when: "ssh_preset.allowed_cipers is defined" when: "ssh_preset.allowed_ciphers is defined"
register: queried_ciphers register: queried_ciphers
tags: ["prepare", "prepare-sshd"] tags: ["prepare", "prepare-sshd"]
@ -121,7 +121,7 @@
regexp: "^#?Ciphers" regexp: "^#?Ciphers"
line: "Ciphers {{ ssh_preset.allowed_ciphers | intersect(queried_ciphers.stdout_lines) | join(',') }}" line: "Ciphers {{ ssh_preset.allowed_ciphers | intersect(queried_ciphers.stdout_lines) | join(',') }}"
insertafter: *cipher_after insertafter: *cipher_after
when: "ssh_preset.allowed_cipers is defined" when: "ssh_preset.allowed_ciphers is defined"
notify: "reload sshd" notify: "reload sshd"
tags: ["prepare", "prepare-sshd"] tags: ["prepare", "prepare-sshd"]