ssh_gateway_ports
is documented to accept 'clientspecified' string, but only accepts bools
#755
Labels
ssh_gateway_ports
is documented to accept 'clientspecified' string, but only accepts bools
#755
Description
The
ssh_gateway_ports
is documented to acceptyes
,no
and'clientspecified'
, yet the latter is a string and rejected bytype: bool
.https://github.com/dev-sec/ansible-collection-hardening/blob/db2bfc91da7654283d34e1154ae564a61e0ac0ef/roles/ssh_hardening/meta/argument_specs.yml#L89C7-L94C67
Seems ansible starting with 4.x validates this strictly
Reproduction steps
- role: devsec.hardening.ssh_hardening vars: ssh_gateway_ports: 'clientspecified'
Current Behavior
Expected Behavior
'clientspecified'
will be accepted and correctly writtenOS / Environment
Provide all relevant information below, e.g. target OS versions, network device firmware, etc.
Ansible Version
Collection Version
Additional information
...
The text was updated successfully, but these errors were encountered: