Run the mkcert command as root.

This commit is contained in:
Andrea Dell'Amico 2023-07-13 11:58:17 +02:00
parent 5d3c349e03
commit ee88e2d0fa
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 0 additions and 2 deletions

View File

@ -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: