Skip to content

Commit 9c4ea46

Browse files
committed
Updating to support new ansible-eos vars
1 parent 5137b4f commit 9c4ea46

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pyth_ans_ecourse/class6/ex1_create_vlans.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99

1010
tasks:
1111
- name: create VLANs
12-
eos_vlan: name={{item.vlan_name}} vlanid={{item.vlan_id}}
13-
eapi_username={{ eapi_username}}
14-
eapi_password={{ eapi_password }}
15-
eapi_hostname={{ eapi_hostname }}
16-
eapi_port={{ eapi_port }}
12+
eos_vlan: name={{ item.vlan_name }} vlanid={{ item.vlan_id }}
13+
username={{ eapi_username }}
14+
password={{ eapi_password }}
15+
host={{ eapi_hostname }}
16+
port={{ eapi_port }}
17+
transport=https
1718
with_items:
1819
- {vlan_name: kb1, vlan_id: 221}
1920
- {vlan_name: kb2, vlan_id: 222}

0 commit comments

Comments
 (0)