Browse Source

format nicely certbot command

python3
Edoardo Putti 7 years ago
parent
commit
7520cea3f4
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      roles/certbot/tasks/main.yaml

+ 10
- 1
roles/certbot/tasks/main.yaml View File

@ -16,7 +16,16 @@
state: stopped
- name: request certificate
command: certbot certonly -a standalone --agree-tos --email roots@lists.lilik.it --preferred-challenges http -d {{ server_fqdn }} -d www.{{ server_fqdn }} -n
command: >
certbot
certonly
-a standalone
--agree-tos
--email roots@lists.lilik.it
--preferred-challenges http
-d {{ server_fqdn }}
-d www.{{ server_fqdn }}
-n
args:
creates: /etc/letsencrypt/live/{{ server_fqdn }}/cert.pem


Loading…
Cancel
Save