1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Reduce dependency on Apache in gitea/kolibri/mediawiki/munin etc

This commit is contained in:
root 2020-05-16 23:50:22 -04:00
parent a16702743e
commit dde8a3285a
7 changed files with 39 additions and 43 deletions

View file

@ -17,16 +17,16 @@
state: present
when: not is_debuntu
- name: Install /etc/munin/munin.conf and Apache's munin24.conf, from templates
- name: 'Install from template: /etc/munin/munin.conf'
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
# owner: root
# group: root
# mode: 0644
with_items:
- { src: 'munin.conf.j2', dest: '/etc/munin/munin.conf' }
- { src: 'munin24.conf.j2', dest: '/etc/{{ apache_conf_dir }}/munin24.conf' }
src: munin.conf.j2
dest: /etc/munin/munin.conf
- name: 'Install from template: /etc/{{ apache_conf_dir }}/munin24.conf'
template:
src: munin24.conf.j2
dest: "/etc/{{ apache_conf_dir }}/munin24.conf" # apache2/sites-available
when: apache_installed is defined
- name: Establish username/password Admin/changeme in /etc/munin/munin-htpasswd
htpasswd: