Try and fix why sudo keeps asking for a password.
This commit is contained in:
parent
df1b9fd308
commit
fb5a099d55
|
|
@ -7,6 +7,7 @@
|
||||||
ansible_common_remote_group: ansible
|
ansible_common_remote_group: ansible
|
||||||
|
|
||||||
- name: Create the certificate (delegate to the CA vm)
|
- name: Create the certificate (delegate to the CA vm)
|
||||||
|
become_user: root
|
||||||
ansible.builtin.command:
|
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 }}
|
cmd: mkcert -cert-file /srv/mkcert-ca/{{ mkcert_cert_name }} -key-file /srv/mkcert-ca/{{ mkcert_key_name }} {{ mkcert_dsn_and_ip_list }}
|
||||||
args:
|
args:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue