mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix rest of ios_interface issues (#32257)
This commit is contained in:
parent
4b35793f62
commit
63a0083cf1
1 changed files with 7 additions and 7 deletions
|
@ -141,7 +141,7 @@
|
|||
- name: Add interface aggregate
|
||||
ios_interface:
|
||||
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 }
|
||||
speed: 1000
|
||||
state: present
|
||||
|
@ -152,7 +152,7 @@
|
|||
that:
|
||||
- 'result.changed == true'
|
||||
- '"interface {{ test_interface }}" in result.commands'
|
||||
- '"mtu 1800" in result.commands'
|
||||
- '"mtu 2000" in result.commands'
|
||||
- '"interface {{ test_interface2 }}" in result.commands'
|
||||
- '"description test-interface-2" in result.commands'
|
||||
- '"mtu 2000" in result.commands'
|
||||
|
@ -160,7 +160,7 @@
|
|||
- name: Add interface aggregate (idempotent)
|
||||
ios_interface:
|
||||
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 }
|
||||
speed: 1000
|
||||
state: present
|
||||
|
@ -174,8 +174,8 @@
|
|||
- name: Disable interface aggregate
|
||||
ios_interface:
|
||||
aggregate:
|
||||
- "name: {{ test_interface }}"
|
||||
- "name: {{ test_interface2 }}"
|
||||
- { name: "{{ test_interface }}" }
|
||||
- { name: "{{ test_interface2 }}" }
|
||||
enabled: False
|
||||
state: present
|
||||
authorize: yes
|
||||
|
@ -192,8 +192,8 @@
|
|||
- name: Enable interface aggregate
|
||||
ios_interface:
|
||||
aggregate:
|
||||
- "name: {{ test_interface }}"
|
||||
- "name: {{ test_interface2 }}"
|
||||
- { name: "{{ test_interface }}" }
|
||||
- { name: "{{ test_interface2 }}" }
|
||||
enabled: True
|
||||
state: present
|
||||
authorize: yes
|
||||
|
|
Loading…
Reference in a new issue