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:
parent
c2e41bf1ef
commit
4271f6e5e6
3 changed files with 10 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
"""
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue