munin: properly rename Munin cache directory

This commit is contained in:
Jérémy Lecour 2018-07-10 16:25:25 +02:00 committed by Jérémy Lecour
parent ec12948398
commit d387ed660a
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
* elasticsearch: add http.publish_host variable
* evoacme: disable old certbot cron also in cron.daily
* 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`)
* java: support for Oracle JRE
* nagios-nrpe: add check_postgrey

View File

@ -22,7 +22,7 @@
notify: restart munin-node
- 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:
creates: /var/lib/munin/{{ ansible_domain }}
removes: /var/lib/munin/localdomain