Hi,

>       I saw there is a module[1] that you can use to create a
> letsencrypt cert. How do you use it to renew said certificate?

exactly the same as for getting a certificate in the first place. There
is no explicit "renew" operation in the ACME protocol.

You can use the module to only start obtaining a certificate if the
current certificate doesn't exist or is expiring in less than N days
(see the remaining_days option), or you can use it to always obtain a
certificate (see the force option).

To see how to write your role/playbook so that a renewal is only made
if the module wants to obtain a certificate, look for `register:
sample_com_challenge` and `when: sample_com_challenge is changed` in
the examples section.

Cheers,
Felix


> 
> [1]
> https://docs.ansible.com/ansible/latest/modules/acme_certificate_module.html#acme-certificate-module
> 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20200129001301.21e6c380%40rovaniemi.

Reply via email to