瀏覽代碼

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

Carl Meyer 8 年之前
父節點
當前提交
cc4b3d6fef
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      roles/common/tasks/letsencrypt.yml

+ 1
- 3
roles/common/tasks/letsencrypt.yml 查看文件

37
   service: name=apache2 state=stopped
37
   service: name=apache2 state=stopped
38
 
38
 
39
 - name: Get an SSL certificate for {{ domain }} from Let's Encrypt
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
   when: ansible_ssh_user != "vagrant"
41
   when: ansible_ssh_user != "vagrant"
44
 
42
 
45
 - name: Modify permissions to allow ssl-cert group access
43
 - name: Modify permissions to allow ssl-cert group access

Loading…
取消
儲存