Cleanup #107

Open
mtrossevin wants to merge 23 commits from mtrossevin/ansible-roles:cleanup into unstable
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 6fb78be66c - Show all commits

View file

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

View file

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