ff
This commit is contained in:
parent
426eae3ebc
commit
76d11b9cb2
3 changed files with 6 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: "restart_apache2"
|
- name: "restart apache2"
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
name: apache2
|
name: apache2
|
|
@ -18,7 +18,7 @@
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: apache.conf
|
src: apache.conf
|
||||||
dest: /etc/apache2/sites-available/000-default.conf
|
dest: /etc/apache2/sites-available/000-default.conf
|
||||||
#notify: "restart_apache2" TODO
|
notify: "restart apache2"
|
||||||
# TODO validate: apachectl -S
|
# TODO validate: apachectl -S
|
||||||
|
|
||||||
- name: Enable fgcid
|
- name: Enable fgcid
|
||||||
|
@ -99,3 +99,6 @@
|
||||||
owner: munin
|
owner: munin
|
||||||
group: munin
|
group: munin
|
||||||
when: not placeholder.stat.exists
|
when: not placeholder.stat.exists
|
||||||
|
|
||||||
|
|
||||||
|
# url ohne /munin TODO
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Alias / /var/cache/munin/www
|
Alias /munin /var/cache/munin/www
|
||||||
<Directory /var/cache/munin/www>
|
<Directory /var/cache/munin/www>
|
||||||
Require all granted
|
Require all granted
|
||||||
Options None
|
Options None
|
||||||
|
|
Loading…
Reference in a new issue