I am running an ansible
task that will among others install a let's encrypt certificate.
I want the task to only run if the certificate has not been installed.
What is the best way to check (via cmd) if my host has a valid secure connection over https?