Fix environment variable which should be dictionary.

This commit is contained in:
Brian Lee 2023-07-05 11:04:37 -07:00
parent 89d530bc4b
commit ea3cad538e
2 changed files with 4 additions and 6 deletions

View File

@ -31,8 +31,8 @@ If for some reason you cannot source the environment variables ahead of running
```yaml
lego_environment:
- NAMECHEAP_API_USER: '...'
- NAMECHEAP_API_KEY: '...'
NAMECHEAP_API_USER: '...'
NAMECHEAP_API_KEY: '...'
```
## Secrets

View File

@ -24,8 +24,7 @@
changed_when: False
ignore_errors: true
tags: lego
environment: []
# environment: "{{ lego_environment }}"
environment: "{{ lego_environment }}"
- name: Print lego output with dns.disable-cp
ansible.builtin.debug:
@ -44,8 +43,7 @@
delegate_to: localhost
changed_when: False
tags: lego
environment: []
# environment: "{{ lego_environment }}"
environment: "{{ lego_environment }}"
- name: Print lego output without dns.disable-cp
ansible.builtin.debug: