diff options
Diffstat (limited to 'test/integration/targets/get_url/tasks/ciphers.yml')
-rw-r--r-- | test/integration/targets/get_url/tasks/ciphers.yml | 19 |
1 files changed, 19 insertions, 0 deletions
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 |