[PR #10512/3bb7a77b backport][stable-11] arg_spec adjustments: modules [o-s]* (#10530)

arg_spec adjustments: modules [o-s]* (#10512)

* arg_spec adjustments: modules [o-s]*

* add changelog frag

(cherry picked from commit 3bb7a77b14)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2025-07-31 22:58:33 +02:00 committed by GitHub
commit 2dbcfaa650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 210 additions and 205 deletions

View file

@ -390,7 +390,7 @@ class SSHConfig(object):
def main():
module = AnsibleModule(
argument_spec=dict(
group=dict(default=None, type='str'),
group=dict(type='str'),
host=dict(type='str', required=True),
hostname=dict(type='str'),
host_key_algorithms=dict(type='str', no_log=False),
@ -398,24 +398,20 @@ def main():
identities_only=dict(type='bool'),
other_options=dict(type='dict'),
port=dict(type='str'),
proxycommand=dict(type='str', default=None),
proxyjump=dict(type='str', default=None),
proxycommand=dict(type='str'),
proxyjump=dict(type='str'),
forward_agent=dict(type='bool'),
add_keys_to_agent=dict(type='bool'),
remote_user=dict(type='str'),
ssh_config_file=dict(default=None, type='path'),
ssh_config_file=dict(type='path'),
state=dict(type='str', default='present', choices=['present', 'absent']),
strict_host_key_checking=dict(
type='str',
default=None,
choices=['yes', 'no', 'ask', 'accept-new'],
),
controlmaster=dict(type='str', default=None, choices=['yes', 'no', 'ask', 'auto', 'autoask']),
controlpath=dict(type='str', default=None),
controlpersist=dict(type='str', default=None),
strict_host_key_checking=dict(type='str', choices=['yes', 'no', 'ask', 'accept-new']),
controlmaster=dict(type='str', choices=['yes', 'no', 'ask', 'auto', 'autoask']),
controlpath=dict(type='str'),
controlpersist=dict(type='str'),
dynamicforward=dict(type='str'),
user=dict(default=None, type='str'),
user_known_hosts_file=dict(type='str', default=None),
user=dict(type='str'),
user_known_hosts_file=dict(type='str'),
),
supports_check_mode=True,
mutually_exclusive=[