[Cleanup] munin: space before and after variable names
This commit is contained in:
parent
c51669531b
commit
6fb78be66c
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue