|
@ -22,6 +22,7 @@ |
|
|
account_key: "{{ letsencrypt_account_key }}" |
|
|
account_key: "{{ letsencrypt_account_key }}" |
|
|
csr: "{{ item.letsencrypt.ssl_csr | default(item.server.ssl_certificate~'.csr') }}" |
|
|
csr: "{{ item.letsencrypt.ssl_csr | default(item.server.ssl_certificate~'.csr') }}" |
|
|
dest: "{{ item.server.ssl_certificate }}" |
|
|
dest: "{{ item.server.ssl_certificate }}" |
|
|
|
|
|
acme_directory: "{{ letsencrypt_acme_dir | default(omit) }}" |
|
|
register: letsencrypt_challenge |
|
|
register: letsencrypt_challenge |
|
|
|
|
|
|
|
|
- name: store challenge(s) in local dir |
|
|
- name: store challenge(s) in local dir |
|
@ -39,5 +40,6 @@ |
|
|
account_key: "{{ letsencrypt_account_key }}" |
|
|
account_key: "{{ letsencrypt_account_key }}" |
|
|
csr: "{{ item.letsencrypt.ssl_csr | default(item.server.ssl_certificate~'.csr') }}" |
|
|
csr: "{{ item.letsencrypt.ssl_csr | default(item.server.ssl_certificate~'.csr') }}" |
|
|
dest: "{{ item.server.ssl_certificate }}" |
|
|
dest: "{{ item.server.ssl_certificate }}" |
|
|
|
|
|
acme_directory: "{{ letsencrypt_acme_dir | default(omit) }}" |
|
|
data: "{{ letsencrypt_challenge }}" |
|
|
data: "{{ letsencrypt_challenge }}" |
|
|
notify: restart nginx |
|
|
notify: restart nginx |