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

Add examples and language to better showcase the 'parents' parameter in multiple network modules (#34486)

* Add additional language and examples for 'parents' parameter to clarify its usage.
This commit is contained in:
Tyler 2018-02-09 08:31:37 -05:00 committed by John R Barker
parent 6cbd7cc5d8
commit 15b0371eb2
12 changed files with 33 additions and 12 deletions

View file

@ -36,7 +36,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -37,7 +37,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -43,7 +43,7 @@ options:
default: null
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -39,7 +39,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -37,7 +37,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -38,7 +38,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -49,7 +49,7 @@ options:
default: null
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -48,7 +48,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.
@ -237,6 +237,27 @@ EXAMPLES = """
- ip address 172.31.1.1 255.255.255.0
parents: interface Ethernet1
- name: configure ip helpers on multiple interfaces
ios_config:
lines:
- ip helper-address 172.26.1.10
- ip helper-address 172.26.3.8
parents: "{{ item }}"
with_items:
- interface Ethernet1
- interface Ethernet2
- interface GigabitEthernet1
- name: configure policer in Scavenger class
ios_config:
lines:
- conform-action transmit
- exceed-action drop
parents:
- policy-map Foo
- class Scavenger
- police cir 64000
- name: load new acl into device
ios_config:
lines:

View file

@ -41,7 +41,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -47,7 +47,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -36,7 +36,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.

View file

@ -38,7 +38,7 @@ options:
aliases: ['commands']
parents:
description:
- The ordered set of parents that uniquely identify the section
- The ordered set of parents that uniquely identify the section or hierarchy
the commands should be checked against. If the parents argument
is omitted, the commands are checked against the set of top
level or global commands.