1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Corrects typos in net_get/put module docs (#41991)

This commit is contained in:
John R Barker 2018-06-27 10:38:40 -07:00 committed by GitHub
parent 26abdbf0fd
commit ed3933b67a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 17 deletions

View file

@ -18,9 +18,9 @@ DOCUMENTATION = """
module: net_get module: net_get
version_added: "2.6" version_added: "2.6"
author: "Deepak Agrawal (@dagrawal)" author: "Deepak Agrawal (@dagrawal)"
short_description: Copy files from a network device to Ansible Controller short_description: Copy a file from a network device to Ansible Controller
description: description:
- This module provides functionlity to copy file from network device to - This module provides functionality to copy file from network device to
ansible controller. ansible controller.
options: options:
src: src:
@ -40,7 +40,7 @@ options:
either be the full path on the Ansible control host or a relative either be the full path on the Ansible control host or a relative
path from the playbook or role root directory. path from the playbook or role root directory.
default: default:
- Same filename as specified in src. The path will be playbook root - Same filename as specified in I(src). The path will be playbook root
or role root directory if playbook is part of a role. or role root directory if playbook is part of a role.
requirements: requirements:
@ -48,15 +48,15 @@ requirements:
notes: notes:
- Some devices need specific configurations to be enabled before scp can work - Some devices need specific configurations to be enabled before scp can work
These configuration should be pre-configued before using this module These configuration should be pre-configured before using this module
e.g ios - C(ip scp server enable) e.g ios - C(ip scp server enable).
- User privileage to do scp on network device should be pre-configured - User privilege to do scp on network device should be pre-configured
e.g. ios - need user privileage 15 by default for allowing scp e.g. ios - need user privilege 15 by default for allowing scp.
- Default destination of source file - Default destination of source file.
""" """
EXAMPLES = """ EXAMPLES = """
- name: copy file from the network device to ansible controller - name: copy file from the network device to Ansible controller
net_get: net_get:
src: running_cfg_ios1.txt src: running_cfg_ios1.txt

View file

@ -18,9 +18,9 @@ DOCUMENTATION = """
module: net_put module: net_put
version_added: "2.6" version_added: "2.6"
author: "Deepak Agrawal (@dagrawal)" author: "Deepak Agrawal (@dagrawal)"
short_description: Copy files from Ansibe controller to a network device short_description: Copy a file from Ansible Controller to a network device
description: description:
- This module provides functionlity to copy file from Ansible controller to - This module provides functionality to copy file from Ansible controller to
network devices. network devices.
options: options:
src: src:
@ -44,9 +44,9 @@ options:
required: no required: no
mode: mode:
description: description:
- Set the file transfer mode. If mode is set to 'template' then src - Set the file transfer mode. If mode is set to I(template) then I(src)
file will go through jinja2 template engine to replace any vars if 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 present in the src file. If mode is set to I(binary) then file will be
copied as it is to destination device. copied as it is to destination device.
default: binary default: binary
choices: ['binary', 'template'] choices: ['binary', 'template']
@ -57,10 +57,10 @@ requirements:
notes: notes:
- Some devices need specific configurations to be enabled before scp can work - Some devices need specific configurations to be enabled before scp can work
These configuration should be pre-configued before using this module These configuration should be pre-configured before using this module
e.g ios - C(ip scp server enable). e.g ios - C(ip scp server enable).
- User privileage to do scp on network device should be pre-configured - User privilege to do scp on network device should be pre-configured
e.g. ios - need user privileage 15 by default for allowing scp. e.g. ios - need user privilege 15 by default for allowing scp.
- Default destination of source file. - Default destination of source file.
""" """