mirror of https://github.com/ansible/ansible.git
Cherry pick eapi tearup down changes (#26935)
* Remove enable EAPI from prepare_eos_tests (#26910) Enabling EAPI is not common on CLI *and* EAPI tests, therefore enabling it should be put at the eapi.yaml task level. (cherry picked from commitpull/26938/head258d2058cd
) * Add missing provider on disable eapi tasks (#26928) (cherry picked from commit4532c791fd
) * Add CHANGELOG entry
parent
32b4342209
commit
4490cc9e9e
@ -1,10 +1,17 @@
|
||||
- name: enable cli on remote device
|
||||
eos_eapi:
|
||||
enable_http: yes
|
||||
enable_https: yes
|
||||
enable_local_http: yes
|
||||
enable_socket: yes
|
||||
- name: Enable Ethernet1 interface and disable switchport
|
||||
eos_config:
|
||||
lines:
|
||||
- no shutdown
|
||||
- no switchport
|
||||
parents: int Ethernet1
|
||||
authorize: yes
|
||||
connection: local
|
||||
|
||||
- name: Enable Ethernet2 interface and disable switchport
|
||||
eos_config:
|
||||
lines:
|
||||
- no shutdown
|
||||
- no switchport
|
||||
parents: int Ethernet2
|
||||
authorize: yes
|
||||
provider: "{{ cli }}"
|
||||
register: eos_eapi_output
|
||||
connection: local
|
||||
|
Loading…
Reference in New Issue