Address linter feedback

This commit is contained in:
Steven Dickenson 2021-02-15 14:01:34 -05:00
parent 43be5b1742
commit 8e23118779
3 changed files with 5 additions and 6 deletions

View File

@ -27,7 +27,8 @@ certbot_certs: []
# - domains: # - domains:
# - example3.com # - example3.com
certbot_create_command: >- certbot_create_command: >-
{{ certbot_script }} certonly --standalone --noninteractive --agree-tos {{ cert_item.create_options | default(certbot_create_options) }} {{ certbot_script }} certonly --standalone --noninteractive
--agree-tos {{ cert_item.create_options | default(certbot_create_options) }}
--email {{ cert_item.email | default(certbot_admin_email) }} --email {{ cert_item.email | default(certbot_admin_email) }}
-d {{ cert_item.domains | join(',') }} -d {{ cert_item.domains | join(',') }}

View File

@ -28,6 +28,6 @@
section: renewalparams section: renewalparams
option: "{{ item.key }}" option: "{{ item.key }}"
value: "{{ item.value }}" value: "{{ item.value }}"
create: no create: "no"
loop: "{{ cert_item.renewal_config | dict2items }}" loop: "{{ cert_item.renewal_config | dict2items }}"
when: cert_item.renewal_config is defined when: cert_item.renewal_config is defined

View File

@ -12,7 +12,5 @@
systemd: systemd:
name: certbot-renew.timer name: certbot-renew.timer
state: started state: started
enabled: yes enabled: "yes"
when: certbot_auto_renew_use_systemd when: certbot_auto_renew_use_systemd