Hi,

> how do you currently do your certs? you can either use the letsencrypt
> modules,

the letsencrypt module was renamed to acme_certificate (to not violate
Let's Encrypt's trademark) for Ansible 2.6.
(The renamed module's documentation: 
https://docs.ansible.com/ansible/latest/modules/acme_certificate_module.html)

Note that it's also possible to use acme-tiny
(https://github.com/diafygi/acme-tiny/) with Ansible using the
openssl_certificate module
(https://docs.ansible.com/ansible/latest/modules/openssl_certificate_module.html).
Depending on your use-case, this can be much simpler than using the
acme_certificate module. There are also roles encapsulating the
acme_certificate module and make it easier to use (for example, one by
myself: https://github.com/felixfontein/acme-certificate/).

Cheers,
Felix



> use copy to put it on webserver you build or use get_url.
> You can also do the same for the webserver config you are using. You
> can also template the config file.
> 
> On Thu, Aug 16, 2018 at 1:15 PM coach rhca <[email protected]>
> wrote:
> 
> > Hi,
> >
> > Trying to create an ec2 instance using ansible. which will host a
> > normal webserver but not sure on how to add the self signed
> > certificate to the http - webserver using ansible.
> > Also how to redirect all the http request to https one using
> > ansible. Could you please suggest. thank you.

-- 
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/20180816192846.64d5a570%40rovaniemi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to