add certbot_force condition

This commit is contained in:
vincent 2021-07-17 09:43:37 +02:00
parent 29b5c0711b
commit b2f4dace21

View File

@ -10,7 +10,7 @@
- include_tasks: create-cert-standalone.yml - include_tasks: create-cert-standalone.yml
with_items: "{{ certbot_certs }}" with_items: "{{ certbot_certs }}"
when: when:
- certbot_create_if_missing - certbot_create_if_missing or certbot_force
- certbot_create_method == 'standalone' - certbot_create_method == 'standalone'
loop_control: loop_control:
loop_var: cert_item loop_var: cert_item