mirror of
https://github.com/MatteZ02/infra.git
synced 2024-11-22 10:40:18 +00:00
Update
This commit is contained in:
parent
05ab0bc433
commit
937435d350
@ -140,12 +140,16 @@
|
||||
type: RSA
|
||||
size: 2048
|
||||
regenerate: never
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
- name: "Installer - Certbot - Self-Signed Certificates - Create Certificate Signing Request"
|
||||
community.crypto.openssl_csr:
|
||||
common_name: "{{ ansible_facts.fqdn }}"
|
||||
privatekey_path: "/root/certs/mkj/privkey.pem"
|
||||
path: "/root/certs/mkj/csr.pem"
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
- name: "Installer - Certbot - Self-Signed Certificates - Generate Certificate"
|
||||
community.crypto.x509_certificate:
|
||||
@ -153,6 +157,16 @@
|
||||
privatekey_path: "/root/certs/mkj/privkey.pem"
|
||||
csr_path: "/root/certs/mkj/csr.pem"
|
||||
provider: selfsigned
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
- name: "Installer - Certbot - Self-Signed Certificates - Copy Certificate"
|
||||
copy:
|
||||
src: "/root/certs/mkj/fullchain.pem"
|
||||
dest: "/root/certs/mkj/chain.pem"
|
||||
force: true
|
||||
tags:
|
||||
- certbot
|
||||
|
||||
- name: "Installer - Certbot - Auth Hook"
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user