Check if the variable is iterable to identify a list

This commit is contained in:
Pirate Praveen 2025-05-16 19:00:11 +05:30
parent 3b3cc546d1
commit da8babe0a8

View File

@ -28,7 +28,7 @@
mode: 0750
when:
- 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.
template:
@ -39,7 +39,7 @@
mode: 0750
when:
- 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
block: