2 - name: install server specific packages
7 - name: lighttpd - change simple-vhost config
8 ansible.builtin.replace:
9 path: /etc/lighttpd/conf-available/10-simple-vhost.conf
10 regexp: 'www.example.com'
12 # - name: lighttpd - aktiviere simple-vhost
13 # command: lighty-enable-mod simple-vhost
14 - name: lighttpd - reload service
15 command: service lighttpd force-reload
16 - name: lighttpd - erstelle "Testbild" vhost Verzeichnis
18 path: /srv/testbild/htdocs
20 - name: lighttpd - kopiere Testbild Webseite
22 src: files/lighttpd-intranet_index.html
23 dest: /srv/testbild/htdocs/index.html
27 - name: lighttpd - kopiere Testbild
29 src: files/lighttpd-intranet_FuBK-Testbild.png
30 dest: /srv/testbild/htdocs/FuBK-Testbild.png
34 - name: lighttpd - erstelle vhost "Intranet" Verzeichnis
36 path: /srv/intranet/htdocs
38 - name: lighttpd - erstelle vhost "digitales" Verzeichnis
40 path: /srv/digitales/htdocs