mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-09-19 03:20:38 +02:00
feat: add support for environment variables
This commit is contained in:
@@ -39,4 +39,5 @@
|
||||
|
||||
- name: Generate new certificate if one doesn't exist.
|
||||
command: "{{ certbot_create_command }}"
|
||||
environment: "{{ cert_item.env_vars | default(certbot_env_vars) }}"
|
||||
when: not letsencrypt_cert.stat.exists
|
||||
|
||||
@@ -11,4 +11,5 @@
|
||||
|
||||
- name: Generate new certificate if one doesn't exist.
|
||||
command: "{{ certbot_create_command }}"
|
||||
environment: "{{ cert_item.env_vars | default(certbot_env_vars) }}"
|
||||
when: not letsencrypt_cert.stat.exists
|
||||
|
||||
Reference in New Issue
Block a user