Skip to content

Commit 4ef42f9

Browse files
committed
chore(ssh_hardening): conditional bool handling
1 parent cb09b4c commit 4ef42f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/ssh_hardening/tasks/hardening.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
notify: Restart sshd
114114
when:
115115
- ssh_server_hardening | bool
116-
- sshd_register_moduli.stdout
116+
- sshd_register_moduli.stdout is truthy
117117

118118
- name: Include tasks to setup ca keys and principals
119119
ansible.builtin.include_tasks: ca_keys_and_principals.yml

0 commit comments

Comments
 (0)