Run the mkcert command as root.
This commit is contained in:
parent
5d3c349e03
commit
ee88e2d0fa
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue