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

fix aggregate doc example (#28528)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-08-23 02:16:45 +05:30 committed by GitHub
parent c2e41bf1ef
commit 4271f6e5e6
3 changed files with 10 additions and 12 deletions

View file

@ -96,10 +96,8 @@ EXAMPLES = """
- name: Create interface using aggregate
net_interface:
aggregate:
- name: ge-0/0/1
description: test-interface-1
- name: ge-0/0/2
description: test-interface-2
- { name: ge-0/0/1, description: test-interface-1 }
- { name: ge-0/0/2, description: test-interface-2 }
speed: 1g
duplex: full
mtu: 512
@ -107,8 +105,8 @@ EXAMPLES = """
- name: Delete interface using aggregate
junos_interface:
aggregate:
- name: ge-0/0/1
- name: ge-0/0/2
- { name: ge-0/0/1 }
- { name: ge-0/0/2 }
state: absent
- name: Check intent arguments

View file

@ -62,15 +62,15 @@ EXAMPLES = """
- name: Create aggregate of LLDP interface configurations
net_lldp_interface:
aggregate:
- name: eth1
- name: eth2
- { name: eth1 }
- { name: eth2 }
state: present
- name: Delete aggregate of LLDP interface configurations
net_lldp_interface:
aggregate:
- name: eth1
- name: eth2
- { name: eth1 }
- { name: eth2 }
state: absent
"""

View file

@ -106,8 +106,8 @@ EXAMPLES = """
- name: set multiple users to privilege level 15
net_user:
aggregate:
- name: netop
- name: netend
- { name: netop }
- { name: netend }
privilege: 15
state: present