Hi Coach,
you can also use the following modules:
* openssl_privatekey to generate the private key
(https://docs.ansible.com/ansible/latest/modules/openssl_privatekey_module.html)
* openssl_csr to generate the CSR
(https://docs.ansible.com/ansible/latest/modules/openssl_csr_module.html)
* openssl_certificate to generate the self-signed certificate
(https://docs.ansible.com/ansible/latest/modules/openssl_certificate_module.html)
Please check out the documentation, it also contains example on how to
use the modules.
Cheers,
Felix
On Sat, 18 Aug 2018 13:44:59 +0200
Kai Stian Olstad <[email protected]> wrote:
> On Friday, 17 August 2018 06.11.03 CEST coach rhca wrote:
> > thanks Jonathan for reciprocating, i use the openssl on the OS to
> > generate the pem file and then the crt file but i am checking on
> > how to achieve this on ansible.
> > just like a private self signed certificate for internal use for the
> > webserver that will be provisioned.
>
> You can do it with the same command that you usually use, Ansible can
> run OS commands with the command and the shell modules.
--
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/20180818141942.4c86c310%40rovaniemi.
For more options, visit https://groups.google.com/d/optout.