Commit 730f2e7e authored by Chris Croome's avatar Chris Croome

fix DirectoryIndex regex

parent 39f79343
Pipeline #8472 failed with stage
in 18 seconds
......@@ -167,7 +167,7 @@
- name: "Check that each DirectoryIndex appears to be a filename for {{ vhost.key }} VirtualHost for {{ user.key }}"
assert:
that:
- index is regex("^\w\.\w$")
- index is regex("^\w+\.\w+$")
loop: "{{ vhost.value.users_apache_index }}"
loop_control:
loop_var: index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment