munin: properly rename Munin cache directory
This commit is contained in:
parent
ec12948398
commit
d387ed660a
|
@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* elasticsearch: add http.publish_host variable
|
* elasticsearch: add http.publish_host variable
|
||||||
* evoacme: disable old certbot cron also in cron.daily
|
* evoacme: disable old certbot cron also in cron.daily
|
||||||
* kibana: log messages go to /var/log/kibana/kibana.log
|
* kibana: log messages go to /var/log/kibana/kibana.log
|
||||||
|
* munin: properly rename Munin cache directory
|
||||||
* mysql: add an option to install the client development libraries (default: `False`)
|
* mysql: add an option to install the client development libraries (default: `False`)
|
||||||
* java: support for Oracle JRE
|
* java: support for Oracle JRE
|
||||||
* nagios-nrpe: add check_postgrey
|
* nagios-nrpe: add check_postgrey
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
notify: restart munin-node
|
notify: restart munin-node
|
||||||
|
|
||||||
- name: Rename the localdomain data dir
|
- name: Rename the localdomain data dir
|
||||||
command: mv /var/lib/munin/localdomain /var/lib/munin/{{ ansible_domain }}
|
shell: mv /var/lib/munin/localdomain /var/lib/munin/{{ ansible_domain }} && rename "s/localhost.localdomain/{{ ansible_fqdn }}/" /var/lib/munin/{{ ansible_domain }}/*
|
||||||
args:
|
args:
|
||||||
creates: /var/lib/munin/{{ ansible_domain }}
|
creates: /var/lib/munin/{{ ansible_domain }}
|
||||||
removes: /var/lib/munin/localdomain
|
removes: /var/lib/munin/localdomain
|
||||||
|
|
Loading…
Reference in a new issue