Commit 901710d1 authored by Chris Croome's avatar Chris Croome

check scrips is an array

parent 91e476c7
Pipeline #8477 passed with stage
in 22 seconds
......@@ -174,4 +174,11 @@
label: "{{ index }}"
when: vhost.value.users_apache_index is defined
- name: "Check that the users_daily_scripts array for {{ vhost.key }} VirtualHost for {{ user.key }} is a non-empty if defined"
- vhost.value.users_daily_scripts | length
- vhost.value.users_daily_scripts[0] is defined
when: vhost.value.users_daily_scripts is defined
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment