Documentation fixes. (#28047)

* Documentation fixes.

* Update win_route.py
pull/28098/head
Jason Lingohr 7 years ago committed by Dag Wieers
parent 6e4c0143b4
commit 3d29f79e74

@ -18,8 +18,8 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# this is a windows documentation stub. actual code lives in the .ps1 # This is a windows documentation stub. Actual code lives in the .ps1
# file of the same name # file of the same name.
ANSIBLE_METADATA = {'metadata_version': '1.0', ANSIBLE_METADATA = {'metadata_version': '1.0',
'status': ['preview'], 'status': ['preview'],
@ -35,11 +35,12 @@ description:
options: options:
destination: destination:
description: description:
- Destination IP address in CIDR format (ip address/prefix lenght) - Destination IP address in CIDR format (ip address/prefix length)
required: true required: true
gateway: gateway:
description: description:
- Gateway used by the static route. If gateway is not provided it will be set to "0.0.0.0" - The gateway used by the static route.
- If C(gateway) is not provided it will be set to C(0.0.0.0).
metric: metric:
description: description:
- Metric used by the static route. - Metric used by the static route.
@ -50,7 +51,7 @@ options:
If absent, it removes a network static route. If absent, it removes a network static route.
default: present default: present
notes: notes:
- Works only with Windows 2012 R2 or latest. - Works only with Windows 2012 R2 and newer.
author: Daniele Lazzari author: Daniele Lazzari
''' '''
@ -70,7 +71,7 @@ EXAMPLES = r'''
state: absent state: absent
''' '''
RETURN = r''' RETURN = r'''
outpot: output:
description: A message describing the task result. description: A message describing the task result.
returned: always returned: always
type: string type: string

Loading…
Cancel
Save