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 - 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

View file

@ -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
""" """

View file

@ -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