mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Test system (#22420)
* ios_system * tests for ios_system * tests for *_system * working ios_system on cli * Typo * Loopback10 (single word, upeprcase) * Revert docs changes * Working iosxr_system tests * eos, not nxos * nxos_system
This commit is contained in:
parent
0b250016b0
commit
41f5648c44
36 changed files with 1573 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
|||
register: test_cases
|
||||
|
||||
- name: set test_items
|
||||
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
||||
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" #"
|
||||
|
||||
- name: run test case
|
||||
include: "{{ test_case_to_run }}"
|
||||
|
|
|
@ -6,13 +6,14 @@
|
|||
register: test_cases
|
||||
|
||||
- name: set test_items
|
||||
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
||||
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" #"
|
||||
|
||||
- name: enable eapi
|
||||
nxos_config:
|
||||
lines:
|
||||
- feature eapi
|
||||
- eapi http port 80
|
||||
eos_eapi:
|
||||
enable_http: yes
|
||||
enable_https: yes
|
||||
enable_local_http: yes
|
||||
enable_socket: yes
|
||||
provider: "{{ cli }}"
|
||||
|
||||
- name: run test case
|
||||
|
@ -22,7 +23,9 @@
|
|||
loop_var: test_case_to_run
|
||||
|
||||
- name: disable eapi
|
||||
nxos_config:
|
||||
lines:
|
||||
- no feature eapi
|
||||
eos_eapi:
|
||||
enable_http: no
|
||||
enable_https: no
|
||||
enable_local_http: no
|
||||
enable_socket: no
|
||||
provider: "{{ cli }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue