Write command in muti lines
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2020-06-14 01:15:23 +02:00
parent 75f9a93d8a
commit 8d919be383

View file

@ -144,13 +144,20 @@
register: cert register: cert
- name: Install certbot and generate cert - name: Install certbot and generate cert
command: certbot certonly --noninteractive --agree-tos --manual-public-ip-logging-ok --renew-by-default --text --webroot --webroot-path /var/www/ --email {{ certbot_adminemail }} -d {{ certbot_certname }} command: >
certbot certonly --noninteractive --agree-tos --manual-public-ip-logging-ok
--renew-by-default --text --webroot --webroot-path /var/www/
--email {{ certbot_adminemail }} -d {{ certbot_certname }}
when: when:
- not cert.stat.exists - not cert.stat.exists
- certbot_authtype == "http" - certbot_authtype == "http"
- name: Install certbot and generate cert - name: Install certbot and generate cert
command: certbot certonly --noninteractive --agree-tos --manual-public-ip-logging-ok --renew-by-default --text --manual --manual-auth-hook "/etc/letsencrypt/lexicon-ovh.sh create" --manual-cleanup-hook "/etc/letsencrypt/lexicon-ovh.sh delete" --preferred-challenges dns --email {{ certbot_adminemail }} -d {{ certbot_certname }} command: >
certbot certonly --noninteractive --agree-tos --manual-public-ip-logging-ok
--renew-by-default --text --manual --manual-auth-hook "/etc/letsencrypt/lexicon-ovh.sh create"
--manual-cleanup-hook "/etc/letsencrypt/lexicon-ovh.sh delete" --preferred-challenges dns
--email {{ certbot_adminemail }} -d {{ certbot_certname }}
when: when:
- not cert.stat.exists - not cert.stat.exists
- certbot_authtype == "dns" - certbot_authtype == "dns"