Debian Codegraph @

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

raw
1 - vars:
2 url: https://{{ httpbin_host }}/get
3 block:
4 - name: test good cipher
5 debug:
6 msg: '{{ lookup("url", url) }}'
7 vars:
8 ansible_lookup_url_ciphers: ECDHE-RSA-AES128-SHA256
9 register: good_ciphers
10
11 - name: test bad cipher
12 debug:
13 msg: '{{ lookup("url", url) }}'
14 vars:
15 ansible_lookup_url_ciphers: ECDHE-ECDSA-AES128-SHA
16 ignore_errors: true
17 register: bad_ciphers
18
19 - assert:
20 that:
21 - good_ciphers is successful
22 - bad_ciphers is failed