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:
parent
d7e9749de9
commit
9c26e934f4
1 changed files with 5 additions and 9 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue