From ee88e2d0fac2158332a39301e5ff47394a03228e Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 13 Jul 2023 11:58:17 +0200 Subject: [PATCH] Run the mkcert command as root. --- tasks/certificate_from_private_ca.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/tasks/certificate_from_private_ca.yml b/tasks/certificate_from_private_ca.yml index 2f36445..f95f19a 100644 --- a/tasks/certificate_from_private_ca.yml +++ b/tasks/certificate_from_private_ca.yml @@ -7,8 +7,6 @@ ansible_common_remote_group: ansible - name: Create the certificate (delegate to the CA vm) - become_user: mkcert-ca - become_method: su ansible.builtin.command: cmd: mkcert -cert-file /srv/mkcert-ca/{{ mkcert_cert_name }} -key-file /srv/mkcert-ca/{{ mkcert_key_name }} {{ mkcert_dsn_and_ip_list }} args: