mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-05-22 22:31:40 +02:00
Check if the variable is iterable to identify a list
This commit is contained in:
parent
3b3cc546d1
commit
da8babe0a8
@ -28,7 +28,7 @@
|
|||||||
mode: 0750
|
mode: 0750
|
||||||
when:
|
when:
|
||||||
- certbot_create_standalone_stop_services is defined
|
- certbot_create_standalone_stop_services is defined
|
||||||
- certbot_create_standalone_stop_services
|
- certbot_create_standalone_stop_services is iterable
|
||||||
|
|
||||||
- name: Create post hook to start services.
|
- name: Create post hook to start services.
|
||||||
template:
|
template:
|
||||||
@ -39,7 +39,7 @@
|
|||||||
mode: 0750
|
mode: 0750
|
||||||
when:
|
when:
|
||||||
- certbot_create_standalone_stop_services is defined
|
- certbot_create_standalone_stop_services is defined
|
||||||
- certbot_create_standalone_stop_services
|
- certbot_create_standalone_stop_services is iterable
|
||||||
|
|
||||||
- name: Check if domains have changed
|
- name: Check if domains have changed
|
||||||
block:
|
block:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user