Explorar el Código

Don't request a new LE cert if we have one already.

Carl Meyer hace 8 años
padre
commit
cc4b3d6fef
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1
    3
      roles/common/tasks/letsencrypt.yml

+ 1
- 3
roles/common/tasks/letsencrypt.yml Ver fichero

@@ -37,9 +37,7 @@
37 37
   service: name=apache2 state=stopped
38 38
 
39 39
 - name: Get an SSL certificate for {{ domain }} from Let's Encrypt
40
-  script: letsencrypt-gencert {{ domain }}
41
-  args:
42
-    creates: /etc/letsencrypt/live/{{ domain }}/privkey.pem
40
+  script: letsencrypt-gencert {{ domain }} creates=/etc/letsencrypt/live/{{ domain }}/privkey.pem
43 41
   when: ansible_ssh_user != "vagrant"
44 42
 
45 43
 - name: Modify permissions to allow ssl-cert group access

Loading…
Cancelar
Guardar