chore(ssh_hardening): ansible 2.19 compatibility (#868)

* chore(ssh_hardening): jinja2 templates header fixed

Signed-off-by: Nemental <[email protected]>

* chore(ssh_hardening): conditional bool handling

Signed-off-by: Nemental <[email protected]>

---------

Signed-off-by: Nemental <[email protected]>
This commit is contained in:
Moritz authored and GitHub committed 2025-05-08 13:50:38 +02:00
1 parent 1388eea064
commit e75072989f
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@
notify: Restart sshd
when:
- ssh_server_hardening | bool
- sshd_register_moduli.stdout
- sshd_register_moduli.stdout is truthy
- name: Include tasks to setup ca keys and principals
ansible.builtin.include_tasks: ca_keys_and_principals.yml