bugfix: munin - docker (#154)
vars docker 2 docker vars create dirs vars docker Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#154 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
9b3859cd9d
commit
2be53a61ff
2 changed files with 14 additions and 2 deletions
|
@ -30,6 +30,9 @@
|
||||||
to_port: 4949
|
to_port: 4949
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
comment: 'munin'
|
comment: 'munin'
|
||||||
from_ip: 192.168.0.0/16
|
|
||||||
### geerlingguy.munin-node
|
### geerlingguy.munin-node
|
||||||
munin_node_allowed_cidrs: [192.168.0.0/16] # weil der munin-server aus einem anderen subnet zugreift
|
munin_node_allowed_cidrs: [0.0.0.0/0] # weil der munin-server aus einem anderen subnet zugreift
|
||||||
|
munin_node_allowed_ips: # weil der munin-server aus einem anderen subnet zugreift
|
||||||
|
- '^127\.0\.0\.1$'
|
||||||
|
- '^::1$'
|
||||||
|
- ^0\.0\.0\.0$
|
||||||
|
|
|
@ -5,6 +5,15 @@
|
||||||
state: present
|
state: present
|
||||||
register: install
|
register: install
|
||||||
|
|
||||||
|
- name: create directories
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
loop:
|
||||||
|
- /etc/munin
|
||||||
|
- /etc/munin/plugin-conf.d
|
||||||
|
- /etc/munin/plugins
|
||||||
|
|
||||||
- name: Copy munin-node configuration.
|
- name: Copy munin-node configuration.
|
||||||
template:
|
template:
|
||||||
src: munin-node.conf.j2
|
src: munin-node.conf.j2
|
||||||
|
|
Loading…
Reference in a new issue