Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

sshd_custom_options used in ssh_config generation #224

Closed
sfuerte opened this issue May 16, 2019 · 1 comment · Fixed by #225
Closed

sshd_custom_options used in ssh_config generation #224

sfuerte opened this issue May 16, 2019 · 1 comment · Fixed by #225
Labels

Comments

@sfuerte
Copy link

sfuerte commented May 16, 2019

Describe the bug
the wrong variable, sshd_custom_options is used for client config file generation

/etc/ansible/roles/dev-sec.ssh-hardening/templates/openssh.conf.j2:{% if sshd_custom_options -%}
/etc/ansible/roles/dev-sec.ssh-hardening/templates/openssh.conf.j2:{% for line in sshd_custom_options %}

Expected behavior
should be ssh_custom_options

Role Version

# ansible-galaxy list | grep ssh
- dev-sec.ssh-hardening, 6.1.1
@rndmh3ro
Copy link
Member

Sorry for this! That was a copy-paste error. I'll fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants