Hello guys,

I need to download & install the CA certificate *only if it is not present 
on the remote host*.
Does anyone know how to achieve the CA certificate presence check with 
Ansible?
That will be used to populate a variable used for something along those 
lines:

  - name: Downloading the CA certificate from the official site
    get_url: url={{ ca_url }} dest={{ dest_cert_folder }} use_proxy=no
    when: ca_cert == 'absent'

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/81b4e649-d138-4434-a003-d256a0575301%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to