mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Address linter feedback
This commit is contained in:
parent
43be5b1742
commit
8e23118779
@ -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(',') }}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user