1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Cleaner munin/tasks/install.yml

This commit is contained in:
A Holt 2020-01-13 18:57:54 -05:00 committed by GitHub
parent d7e9749de9
commit 9c26e934f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,7 @@
- libcgi-fast-perl
- libapache2-mod-fcgid
state: present
tags:
- download
#tags: download
when: is_debuntu | bool
- name: "Install 2 packages: munin, munin-node (OS's other than debuntu)"
@ -17,17 +16,16 @@
- munin
- munin-node
state: present
tags:
- download
#tags: download
when: not is_debuntu
- name: Install /etc/munin/munin.conf and Apache's munin24.conf, from templates
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: root
group: root
mode: 0644
# owner: root
# group: root
# mode: 0644
with_items:
- { src: 'munin.conf.j2', dest: '/etc/munin/munin.conf' }
- { src: 'munin24.conf.j2', dest: '/etc/{{ apache_config_dir }}/munin24.conf' }
@ -37,8 +35,6 @@
path: /etc/munin/munin-htpasswd
name: Admin
password: changeme
create: yes
state: present
- name: "Add 'munin_installed: True' to {{ iiab_state_file }}"
lineinfile: