This commit is contained in:
Christer Warén 2024-05-05 20:10:28 +03:00
parent e3095be9d1
commit 05ab0bc433

View File

@ -136,7 +136,7 @@
- name: "Installer - Certbot - Self-Signed Certificates - Generate Private Key"
community.crypto.openssl_privatekey:
path: "/root/certs/mkj/privatekey.pem"
path: "/root/certs/mkj/privkey.pem"
type: RSA
size: 2048
regenerate: never
@ -144,13 +144,13 @@
- name: "Installer - Certbot - Self-Signed Certificates - Create Certificate Signing Request"
community.crypto.openssl_csr:
common_name: "{{ ansible_facts.fqdn }}"
privatekey_path: "/root/certs/mkj/privatekey.pem"
privatekey_path: "/root/certs/mkj/privkey.pem"
path: "/root/certs/mkj/csr.pem"
- name: "Installer - Certbot - Self-Signed Certificates - Generate Certificate"
community.crypto.x509_certificate:
path: "/root/certs/mkj/fullchain.pem"
privatekey_path: "/root/certs/mkj/privatekey.pem"
privatekey_path: "/root/certs/mkj/privkey.pem"
csr_path: "/root/certs/mkj/csr.pem"
provider: selfsigned