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:
1 parent
1388eea064
commit
e75072989f
3 files changed
+3
-3
No files matched your search
@@ -113,7 +113,7 @@
|
|||||||
notify: Restart sshd
|
notify: Restart sshd
|
||||||
when:
|
when:
|
||||||
- ssh_server_hardening | bool
|
- ssh_server_hardening | bool
|
||||||
- sshd_register_moduli.stdout
|
- sshd_register_moduli.stdout is truthy
|
||||||
|
|
||||||
- name: Include tasks to setup ca keys and principals
|
- name: Include tasks to setup ca keys and principals
|
||||||
ansible.builtin.include_tasks: ca_keys_and_principals.yml
|
ansible.builtin.include_tasks: ca_keys_and_principals.yml
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#jinja2: trim_blocks: "true", lstrip_blocks: "true"
|
#jinja2: trim_blocks:True, lstrip_blocks:True
|
||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
# Generated by Ansible role {{ ansible_role_name }}
|
# Generated by Ansible role {{ ansible_role_name }}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#jinja2: trim_blocks: "true", lstrip_blocks: "true"
|
#jinja2: trim_blocks:True, lstrip_blocks:True
|
||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
# Generated by Ansible role {{ ansible_role_name }}
|
# Generated by Ansible role {{ ansible_role_name }}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user