mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Enable authorize on disabling auto neg task (#32243)
This commit is contained in:
parent
3d59eada20
commit
747bea9a27
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
lines:
|
lines:
|
||||||
- no negotiation auto
|
- no negotiation auto
|
||||||
parents: int GigabitEthernet2
|
parents: int GigabitEthernet2
|
||||||
|
authorize: yes
|
||||||
|
|
||||||
- name: Set test interface 2 to GigabitEthernet3 as we are on Cisco IOS-XE
|
- name: Set test interface 2 to GigabitEthernet3 as we are on Cisco IOS-XE
|
||||||
set_fact: test_interface2=GigabitEthernet3
|
set_fact: test_interface2=GigabitEthernet3
|
||||||
|
@ -30,6 +31,7 @@
|
||||||
lines:
|
lines:
|
||||||
- no negotiation auto
|
- no negotiation auto
|
||||||
parents: int GigabitEthernet3
|
parents: int GigabitEthernet3
|
||||||
|
authorize: yes
|
||||||
when: "'Cisco IOS-XE' in show_version_result.stdout[0]"
|
when: "'Cisco IOS-XE' in show_version_result.stdout[0]"
|
||||||
|
|
||||||
- name: Configure interface (setup)
|
- name: Configure interface (setup)
|
||||||
|
|
Loading…
Reference in a new issue