mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Add a note regarding rsync and ssh-agent/passphrase-less keys
This commit is contained in:
parent
0e01085ab6
commit
d3a7c729ab
1 changed files with 3 additions and 0 deletions
|
@ -912,6 +912,9 @@ Here is an example::
|
||||||
- name: recursively copy files from management server to target
|
- name: recursively copy files from management server to target
|
||||||
local_action: command rsync -a /path/to/files $inventory_hostname:/path/to/target/
|
local_action: command rsync -a /path/to/files $inventory_hostname:/path/to/target/
|
||||||
|
|
||||||
|
Note that you must have passphrase-less SSH keys or an ssh-agent configured for this to work, otherwise rsync
|
||||||
|
will need to ask for a passphrase.
|
||||||
|
|
||||||
Fireball Mode
|
Fireball Mode
|
||||||
`````````````
|
`````````````
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue