mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-04 13:14:24 -07:00
Merge pull request #6556 from andreaskern/patch-1
add param to note example for ssh-keyscan
This commit is contained in:
commit
d8254c14d4
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ notes:
|
||||||
- "If the task seems to be hanging, first verify remote host is in C(known_hosts).
|
- "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. To avoid this prompt,
|
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
|
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."
|
the git module, with the following command: ssh-keyscan -H remote_host.com >> /etc/ssh/ssh_known_hosts."
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue