ff
This commit is contained in:
parent
6d3b3c14e7
commit
7a057a5534
1 changed files with 7 additions and 1 deletions
|
@ -5,9 +5,15 @@
|
|||
name: "{{ munin_packages }}"
|
||||
state: present
|
||||
|
||||
- name: Copy apache24.conf
|
||||
ansible.builtin.copy:
|
||||
src: /etc/munin/apache24.conf
|
||||
dest: /etc/apache2/sites-available/000-default.conf
|
||||
remote_src: yes
|
||||
|
||||
|
||||
|
||||
|
||||
RUN (cp /etc/munin/apache24.conf /etc/apache2/sites-available/000-default.conf) && \
|
||||
(sed -i 's/^Alias.*/Alias \/ \/var\/cache\/munin\/www\//g' /etc/apache2/sites-available/000-default.conf) && \
|
||||
(sed -i 's/Allow from .*/Satisfy Any/g' /etc/apache2/sites-available/000-default.conf) && \
|
||||
(sed -i 's/Order allow,deny.*/Allow from all/g' /etc/apache2/sites-available/000-default.conf) && \
|
||||
|
|
Loading…
Reference in a new issue