Debian Codegraph @

test/integration/targets/get_url/tasks/ciphers.yml

raw
1 - name: test good cipher
2 get_url:
3 url: https://{{ httpbin_host }}/get
4 ciphers: ECDHE-RSA-AES128-SHA256
5 dest: '{{ remote_tmp_dir }}/good_cipher_get.json'
6 register: good_ciphers
7
8 - name: test bad cipher
9 get_url:
10 url: https://{{ httpbin_host }}/get
11 ciphers: ECDHE-ECDSA-AES128-SHA
12 dest: '{{ remote_tmp_dir }}/bad_cipher_get.json'
13 ignore_errors: true
14 register: bad_ciphers
15
16 - assert:
17 that:
18 - good_ciphers is successful
19 - bad_ciphers is failed