ansible: test that modern TLS works
Closes #4471. Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
parent
f2b7124374
commit
79228cd6ec
1 changed files with 4 additions and 0 deletions
|
@ -536,5 +536,9 @@ class Ansible < Formula
|
|||
EOF
|
||||
(testpath/"hosts.ini").write "localhost ansible_connection=local\n"
|
||||
system bin/"ansible-playbook", testpath/"playbook.yml", "-i", testpath/"hosts.ini"
|
||||
|
||||
# Ensure requests[security] is activated
|
||||
script = "import requests as r; r.get('https://mozilla-modern.badssl.com')"
|
||||
system libexec/"bin/python", "-c", script
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue