Update to running setup.

This commit is contained in:
Lars Hahn 2026-06-16 15:10:26 +02:00
parent f7be80008a
commit 9cbc166ee8
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,2 @@
install_date: 'Do 14 Mai 2026 19:50:55 '
version: ''

View File

@ -33,6 +33,7 @@
label: "{{ website.domain }}"
register: setup_doc_roots
- name: setup default index.html if not exists
template:
src: index.html.j2
@ -40,10 +41,12 @@
force: no
owner: "{{ website.owner | default(www_group) }}"
group: "{{ www_group }}"
loop: "{{ setup_doc_roots.results | json_query('[?changed==`true`].website') }}"
loop: "{{ setup_doc_roots.results | default([]) | json_query('[?changed==`true`].website') }}"
loop_control:
loop_var: website
label: "{{ website.domain }}"
when: not setup_doc_roots.skipped
- name: setup sites-available virtual host config
template: