From 22c46df4dfeaa0bab31a049852b670556fa0b6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sun, 5 May 2024 20:16:39 +0300 Subject: [PATCH] Update --- tasks/installer.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tasks/installer.yml b/tasks/installer.yml index f9abe71..4e88828 100644 --- a/tasks/installer.yml +++ b/tasks/installer.yml @@ -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/mpp/privkey.pem" path: "/root/certs/mpp/csr.pem" + tags: + - certbot - name: "Installer - Certbot - Self-Signed Certificates - Generate Certificate" community.crypto.x509_certificate: @@ -153,6 +157,16 @@ privatekey_path: "/root/certs/mpp/privkey.pem" csr_path: "/root/certs/mpp/csr.pem" provider: selfsigned + tags: + - certbot + +- name: "Installer - Certbot - Self-Signed Certificates - Copy Certificate" + copy: + src: "/root/certs/mpp/fullchain.pem" + dest: "/root/certs/mpp/chain.pem" + force: true + tags: + - certbot - name: "Installer - Certbot - Auth Hook" copy: