1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/nxos_nxapi_transports/tasks/nxapi.yaml

25 lines
713 B
YAML
Raw Normal View History

---
- block:
- set_fact:
tls:
- [ yes, no, no ]
- [ no, yes, no ]
- [ no, no, yes ]
- set_fact:
ciphers:
- yes
- no
- name: NXAPI various transport tests with different TLS and ciphers
vars:
tlsv1_2: "{{ item[0][0] }}"
tlsv1_1: "{{ item[0][1] }}"
tlsv1_0: "{{ item[0][2] }}"
ssl_strong_ciphers: "{{ item[1] }}"
include: targets/nxos_nxapi_transports/tests/nxapi/assert_test.yaml
loop: "{{ tls | product(ciphers) | list }}"
when: (platform is match("N9K") or platform is match("N3K") or platform is match("N9K-F") or platform is match("N35") or platform is match("N3L")) and major_version is version('9.2', '>=')