ansible-ssh-config
ansible-ssh-config copied to clipboard
Add all ssh_config options
There are a bunch of options available in ssh_config and it would be good to cover all of them.
I would prefer if they are covered in a correct way, only the actually correct values and so on. For example the StrictHostKeyChecking
option only takes one of yes
, no
, and ask
as parameters.
I haven't looked into whether the storm/paramiko code can be used to determine whether the option is valid or not. But possibly that could be used instead of writing our own logic for determining that for each option.
Either way all options needs to be made available to Ansible, so is it needed to add all options anyway? I know there are Ansible modules that takes any arguments, command for instance, but I don't know how that is implemented.
All options supported by OpenSSH are available in their man page.