change command module to shell
Some checks failed
continuous-integration/drone Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2023-07-25 17:17:15 +02:00
parent e157e89934
commit 43b95bc129

View File

@ -42,7 +42,8 @@
mode: 0600 mode: 0600
- name: Generate certificate for all server instances - 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 }}" with_items: "{{ webserver }}"
- name: "Generate certbot script" - name: "Generate certbot script"