mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
net_put module: add default mode to copy binary files (#41476)
* add default mode to copy binary files * sanity fix * add version for new options
This commit is contained in:
@@ -42,6 +42,15 @@ options:
|
||||
- Filename from src and at default directory of user shell on
|
||||
network_os.
|
||||
required: no
|
||||
mode:
|
||||
description:
|
||||
- Set the file transfer mode. If mode is set to 'template' then src
|
||||
file will go through jinja2 template engine to replace any vars if
|
||||
present in src file. If mode is set to 'binary' then file will be
|
||||
copied as it is to destination device.
|
||||
default: binary
|
||||
choices: ['binary', 'template']
|
||||
version_added: "2.7"
|
||||
|
||||
requirements:
|
||||
- "scp"
|
||||
|
||||
Reference in New Issue
Block a user