mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
fix(ssh): fix typo that prevented allowed ciphers..
from being set in the sshd config
This commit is contained in:
parent
24ae029f01
commit
74d09b4416
1 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue