From 86817cdd52f9595dcb77ba2cc449726586714af3 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Wed, 25 Apr 2018 12:56:54 +0530 Subject: [PATCH] Add aggregate example in nxos_l2_interface module doc (#39275) Signed-off-by: Trishna Guha --- lib/ansible/modules/network/nxos/nxos_l2_interface.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ansible/modules/network/nxos/nxos_l2_interface.py b/lib/ansible/modules/network/nxos/nxos_l2_interface.py index d7a9add776..bb7ba8892f 100644 --- a/lib/ansible/modules/network/nxos/nxos_l2_interface.py +++ b/lib/ansible/modules/network/nxos/nxos_l2_interface.py @@ -97,6 +97,13 @@ EXAMPLES = """ mode: trunk trunk_vlans: 51-4094 state: absent + +- name: Aggregate Configure interfaces for access_vlan with aggregate + nxos_l2_interface: + aggregate: + - { name: "Ethernet1/2", access_vlan: 6 } + - { name: "Ethernet1/7", access_vlan: 15 } + mode: access """ RETURN = """