change command module to shell
This commit is contained in:
parent
e157e89934
commit
43b95bc129
@ -42,7 +42,8 @@
|
||||
mode: 0600
|
||||
|
||||
- name: Generate certificate for all server instances
|
||||
ansible.builtin.command: certbot certonly --non-interactive --agree-tos -m iam@tormakristof.eu --dns-cloudflare --dns-cloudflare-credentials /root/cf-creds.ini -d {{item.domain}}
|
||||
ansible.builtin.shell:
|
||||
cmd: certbot certonly --non-interactive --agree-tos -m iam@tormakristof.eu --dns-cloudflare --dns-cloudflare-credentials /root/cf-creds.ini -d {{item.domain}}
|
||||
with_items: "{{ webserver }}"
|
||||
|
||||
- name: "Generate certbot script"
|
||||
|
Loading…
Reference in New Issue
Block a user