community.general/lib/ansible/modules/source_control
David Wittman cc334a078b Set IdentitiesOnly=yes when using key_file (#5682)
Sets the SSH option `IdentitiesOnly=yes` in the SSH wrapper when a
`key_file` is provided to the git module. This option ensures that
the provided key is used. Otherwise, the system's ssh-agent could
provide undesired identities when connecting.

From ssh_config(5):

> Specifies that ssh(1) should only use the authentication identity and
> certificate files explicitly configured in the ssh_config files or
> passed on the ssh(1) command-line, even if ssh-agent(1) or a
> PKCS11Provider offers more identities. The argument to this keyword
> must be “yes” or “no”. This option is intended for situations where
> ssh-agent offers many different identities. The default is “no”.
2016-12-08 11:25:33 -05:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
git.py Set IdentitiesOnly=yes when using key_file (#5682) 2016-12-08 11:25:33 -05:00
hg.py Change example syntax on hg module 2016-12-08 11:25:31 -05:00
subversion.py Change example syntax on subversion module 2016-12-08 11:25:31 -05:00