mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Set authorize yes on IOS interface discovery tests (#32128)
This commit is contained in:
parent
dc0aa75029
commit
d686c3b4d4
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
- name: Run show version
|
- name: Run show version
|
||||||
ios_command:
|
ios_command:
|
||||||
commands: show version
|
commands: show version
|
||||||
|
authorize: yes
|
||||||
register: show_version_result
|
register: show_version_result
|
||||||
|
|
||||||
- name: Set test interface to GigabitEthernet0/2 if we are on Cisco IOS
|
- name: Set test interface to GigabitEthernet0/2 if we are on Cisco IOS
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
- ios_command:
|
- ios_command:
|
||||||
commands: show version
|
commands: show version
|
||||||
|
authorize: yes
|
||||||
register: show_version_result
|
register: show_version_result
|
||||||
|
|
||||||
- set_fact: management_interface=GigabitEthernet0/0
|
- set_fact: management_interface=GigabitEthernet0/0
|
||||||
|
|
Loading…
Reference in a new issue