mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Replace Gigabit0/0/0/2 for Gigabit0/0/0/1 on iosxr_interface.intent (#32120)
This commit is contained in:
parent
3f86cfac1f
commit
a9d8157e81
1 changed files with 7 additions and 7 deletions
|
@ -3,15 +3,15 @@
|
|||
|
||||
- name: Setup (interface is up)
|
||||
iosxr_interface:
|
||||
name: GigabitEthernet0/0/0/2
|
||||
description: test_interface_2
|
||||
name: GigabitEthernet0/0/0/1
|
||||
description: test_interface_1
|
||||
enabled: True
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- name: Check intent arguments
|
||||
iosxr_interface:
|
||||
name: GigabitEthernet0/0/0/2
|
||||
name: GigabitEthernet0/0/0/1
|
||||
state: up
|
||||
delay: 20
|
||||
register: result
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
- name: Check intent arguments (failed condition)
|
||||
iosxr_interface:
|
||||
name: GigabitEthernet0/0/0/2
|
||||
name: GigabitEthernet0/0/0/1
|
||||
state: down
|
||||
ignore_errors: yes
|
||||
register: result
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
- name: Config + intent
|
||||
iosxr_interface:
|
||||
name: GigabitEthernet0/0/0/2
|
||||
name: GigabitEthernet0/0/0/1
|
||||
enabled: False
|
||||
state: down
|
||||
delay: 20
|
||||
|
@ -46,7 +46,7 @@
|
|||
|
||||
- name: Config + intent (fail)
|
||||
iosxr_interface:
|
||||
name: GigabitEthernet0/0/0/2
|
||||
name: GigabitEthernet0/0/0/1
|
||||
enabled: False
|
||||
state: up
|
||||
ignore_errors: yes
|
||||
|
@ -60,7 +60,7 @@
|
|||
- name: Aggregate config + intent (pass)
|
||||
iosxr_interface:
|
||||
aggregate:
|
||||
- name: GigabitEthernet0/0/0/2
|
||||
- name: GigabitEthernet0/0/0/1
|
||||
enabled: True
|
||||
state: up
|
||||
delay: 20
|
||||
|
|
Loading…
Reference in a new issue