Fix certbot command

This commit is contained in:
Ryan Cavicchioni 2019-12-01 13:45:19 -06:00
parent 8488dc650a
commit f99c956212
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -5,5 +5,5 @@
register: st
- name: "request certificate for {{ item.domains | join(', ') }}"
command: "[[ ! -e certbot certonly --webroot -w {{ certbot_challenge_webroot_path }} --agree-tos --noninteractive --email {{ item.email }} -d {{ item.domains | join(',') }}"
command: "certbot certonly -q --webroot -w {{ certbot_challenge_webroot_path }} --agree-tos --noninteractive --email {{ item.email }} -d {{ item.domains | join(',') }}"
when: not st.stat.exists