diff options
Diffstat (limited to 'ansible/roles')
| -rw-r--r-- | ansible/roles/munin/tasks/main.yml | 33 | 
1 files changed, 27 insertions, 6 deletions
diff --git a/ansible/roles/munin/tasks/main.yml b/ansible/roles/munin/tasks/main.yml index b9704c3..55f6a78 100644 --- a/ansible/roles/munin/tasks/main.yml +++ b/ansible/roles/munin/tasks/main.yml @@ -5,6 +5,8 @@        - munin        - munin-node        - spawn-fcgi +      # Plugin packages +      - libdbd-pg-perl      state: present    tags:      - role::munin @@ -33,14 +35,33 @@  - name: Enable non-default munin plugins    file: -    src: "/usr/share/munin/plugins/{{ item }}" -    dest: "/etc/munin/plugins/{{ item }}" +    src: "/usr/share/munin/plugins/{{ item.src }}" +    dest: "/etc/munin/plugins/{{ item.dest | default(item.src) }}"      state: link    loop: -    - postfix_mailstats -    - spamstats -    - nginx_request -    - nginx_status +    # SpamAssassin +    - src: spamstats +    # Nginx +    - src: nginx_request +    - src: nginx_status +    # Postfix +    - src: postfix_mailstats +    - src: postfix_mailqueue +    - src: postfix_mailvolume +    # PostgreSQL +    - src: postgres_size_ +      dest: postgres_size_metricity +    - src: postgres_size_ +      dest: postgres_size_site +    - src: postgres_size_ +      dest: postgres_size_ALL +    - src: postgres_xlog +    - src: postgres_autovacuum +    - src: postgres_bgwriter +    - src: postgres_checkpoints +    - src: postgres_connections_db +    - src: postgres_users +    - src: postgres_xlog    tags:      - role::munin    notify:  |