Use multi memcached script when needed
This commit is contained in:
parent
ba4db7acf8
commit
aace200270
|
@ -1,4 +1,8 @@
|
|||
---
|
||||
- name: Choose packages (Oracle)
|
||||
set_fact:
|
||||
multi: "multi_"
|
||||
when: memcached_instance_name != False
|
||||
|
||||
- name: is Munin present ?
|
||||
stat:
|
||||
|
@ -21,7 +25,7 @@
|
|||
- name: Enable core Munin plugins
|
||||
file:
|
||||
src: '/usr/share/munin/plugins/memcached_'
|
||||
dest: /etc/munin/plugins/{{ item }}
|
||||
dest: /etc/munin/plugins/{{ multi }}{{ item }}
|
||||
state: link
|
||||
with_items:
|
||||
- memcached_bytes
|
||||
|
|
Loading…
Reference in New Issue