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
|
- name: Create interface using aggregate
|
||||||
net_interface:
|
net_interface:
|
||||||
aggregate:
|
aggregate:
|
||||||
- name: ge-0/0/1
|
- { name: ge-0/0/1, description: test-interface-1 }
|
||||||
description: test-interface-1
|
- { name: ge-0/0/2, description: test-interface-2 }
|
||||||
- name: ge-0/0/2
|
|
||||||
description: test-interface-2
|
|
||||||
speed: 1g
|
speed: 1g
|
||||||
duplex: full
|
duplex: full
|
||||||
mtu: 512
|
mtu: 512
|
||||||
|
@ -107,8 +105,8 @@ EXAMPLES = """
|
||||||
- name: Delete interface using aggregate
|
- name: Delete interface using aggregate
|
||||||
junos_interface:
|
junos_interface:
|
||||||
aggregate:
|
aggregate:
|
||||||
- name: ge-0/0/1
|
- { name: ge-0/0/1 }
|
||||||
- name: ge-0/0/2
|
- { name: ge-0/0/2 }
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Check intent arguments
|
- name: Check intent arguments
|
||||||
|
|
|
@ -62,15 +62,15 @@ EXAMPLES = """
|
||||||
- name: Create aggregate of LLDP interface configurations
|
- name: Create aggregate of LLDP interface configurations
|
||||||
net_lldp_interface:
|
net_lldp_interface:
|
||||||
aggregate:
|
aggregate:
|
||||||
- name: eth1
|
- { name: eth1 }
|
||||||
- name: eth2
|
- { name: eth2 }
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Delete aggregate of LLDP interface configurations
|
- name: Delete aggregate of LLDP interface configurations
|
||||||
net_lldp_interface:
|
net_lldp_interface:
|
||||||
aggregate:
|
aggregate:
|
||||||
- name: eth1
|
- { name: eth1 }
|
||||||
- name: eth2
|
- { name: eth2 }
|
||||||
state: absent
|
state: absent
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -106,8 +106,8 @@ EXAMPLES = """
|
||||||
- name: set multiple users to privilege level 15
|
- name: set multiple users to privilege level 15
|
||||||
net_user:
|
net_user:
|
||||||
aggregate:
|
aggregate:
|
||||||
- name: netop
|
- { name: netop }
|
||||||
- name: netend
|
- { name: netend }
|
||||||
privilege: 15
|
privilege: 15
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue