[Cleanup] munin: space before and after variable names

This commit is contained in:
Mathieu Trossevin 2020-06-19 14:17:28 +02:00
parent c51669531b
commit 6fb78be66c
Signed by: mtrossevin
GPG key ID: 81987323AE7F3E99
2 changed files with 3 additions and 3 deletions

View file

@ -64,8 +64,8 @@
- name: Patch logrotate conf - name: Patch logrotate conf
replace: replace:
name: /etc/logrotate.d/varnish name: /etc/logrotate.d/varnish
regexp: '^(\s+)(/usr/sbin/invoke-rc.d {{item}}.*)' regexp: '^(\s+)(/usr/sbin/invoke-rc.d {{ item }}.*)'
replace: '\1systemctl -q is-active {{item}} && \2' replace: '\1systemctl -q is-active {{ item }} && \2'
with_items: with_items:
- varnishlog - varnishlog
- varnishncsa - varnishncsa

View file

@ -33,7 +33,7 @@
- name: Enable varnish4 munin plugin - name: Enable varnish4 munin plugin
file: file:
src: /usr/local/share/munin/plugins/varnish4_ src: /usr/local/share/munin/plugins/varnish4_
dest: "/etc/munin/plugins/varnish4_{{item}}" dest: "/etc/munin/plugins/varnish4_{{ item }}"
state: link state: link
with_items: with_items:
- backend_traffic - backend_traffic