Fix rest of ios_interface issues (#32257)

pull/32259/head
Ricardo Carrillo Cruz 7 years ago committed by GitHub
parent 4b35793f62
commit 63a0083cf1

@ -141,7 +141,7 @@
- name: Add interface aggregate - name: Add interface aggregate
ios_interface: ios_interface:
aggregate: aggregate:
- { name: "{{ test_interface }}", mtu: 1800, description: test-interface-1 } - { name: "{{ test_interface }}", mtu: 2000, description: test-interface-1 }
- { name: "{{ test_interface2 }}", mtu: 2000, description: test-interface-2 } - { name: "{{ test_interface2 }}", mtu: 2000, description: test-interface-2 }
speed: 1000 speed: 1000
state: present state: present
@ -152,7 +152,7 @@
that: that:
- 'result.changed == true' - 'result.changed == true'
- '"interface {{ test_interface }}" in result.commands' - '"interface {{ test_interface }}" in result.commands'
- '"mtu 1800" in result.commands' - '"mtu 2000" in result.commands'
- '"interface {{ test_interface2 }}" in result.commands' - '"interface {{ test_interface2 }}" in result.commands'
- '"description test-interface-2" in result.commands' - '"description test-interface-2" in result.commands'
- '"mtu 2000" in result.commands' - '"mtu 2000" in result.commands'
@ -160,7 +160,7 @@
- name: Add interface aggregate (idempotent) - name: Add interface aggregate (idempotent)
ios_interface: ios_interface:
aggregate: aggregate:
- { name: "{{ test_interface }}", mtu: 1800, description: test-interface-1 } - { name: "{{ test_interface }}", mtu: 2000, description: test-interface-1 }
- { name: "{{ test_interface2 }}", mtu: 2000, description: test-interface-2 } - { name: "{{ test_interface2 }}", mtu: 2000, description: test-interface-2 }
speed: 1000 speed: 1000
state: present state: present
@ -174,8 +174,8 @@
- name: Disable interface aggregate - name: Disable interface aggregate
ios_interface: ios_interface:
aggregate: aggregate:
- "name: {{ test_interface }}" - { name: "{{ test_interface }}" }
- "name: {{ test_interface2 }}" - { name: "{{ test_interface2 }}" }
enabled: False enabled: False
state: present state: present
authorize: yes authorize: yes
@ -192,8 +192,8 @@
- name: Enable interface aggregate - name: Enable interface aggregate
ios_interface: ios_interface:
aggregate: aggregate:
- "name: {{ test_interface }}" - { name: "{{ test_interface }}" }
- "name: {{ test_interface2 }}" - { name: "{{ test_interface2 }}" }
enabled: True enabled: True
state: present state: present
authorize: yes authorize: yes

Loading…
Cancel
Save