|
|
|
@ -83,10 +83,9 @@ options:
|
|
|
|
|
the normal mechanism for resolving binary paths will be used.
|
|
|
|
|
notes:
|
|
|
|
|
- If the task seems to be hanging, first verify remote host is in C(known_hosts).
|
|
|
|
|
SSH will prompt user to authorize the first contact with a remote host. One solution is to add
|
|
|
|
|
C(StrictHostKeyChecking no) in C(.ssh/config) which will accept and authorize the connection
|
|
|
|
|
on behalf of the user. However, if you run as a different user such as setting sudo to True),
|
|
|
|
|
for example, root will not look at the user .ssh/config setting.
|
|
|
|
|
SSH will prompt user to authorize the first contact with a remote host. To avoid this prompt,
|
|
|
|
|
one solution is to add the remote host public key in C(/etc/ssh/ssh_known_hosts) before calling
|
|
|
|
|
the git module, with the following command: ssh-keyscan remote_host.com >> /etc/ssh/ssh_known_hosts.
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
|