From 8a754e0858d922e955e71b253c139e071ecec432 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 18:04:21 +0200 Subject: Adding upstream version 2.14.3. Signed-off-by: Daniel Baumann --- test/integration/targets/get_url/tasks/ciphers.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/integration/targets/get_url/tasks/ciphers.yml (limited to 'test/integration/targets/get_url/tasks/ciphers.yml') diff --git a/test/integration/targets/get_url/tasks/ciphers.yml b/test/integration/targets/get_url/tasks/ciphers.yml new file mode 100644 index 0000000..c7d9979 --- /dev/null +++ b/test/integration/targets/get_url/tasks/ciphers.yml @@ -0,0 +1,19 @@ +- name: test good cipher + get_url: + url: https://{{ httpbin_host }}/get + ciphers: ECDHE-RSA-AES128-SHA256 + dest: '{{ remote_tmp_dir }}/good_cipher_get.json' + register: good_ciphers + +- name: test bad cipher + get_url: + url: https://{{ httpbin_host }}/get + ciphers: ECDHE-ECDSA-AES128-SHA + dest: '{{ remote_tmp_dir }}/bad_cipher_get.json' + ignore_errors: true + register: bad_ciphers + +- assert: + that: + - good_ciphers is successful + - bad_ciphers is failed -- cgit v1.2.3