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 ?
|
- name: is Munin present ?
|
||||||
stat:
|
stat:
|
||||||
|
@ -21,7 +25,7 @@
|
||||||
- name: Enable core Munin plugins
|
- name: Enable core Munin plugins
|
||||||
file:
|
file:
|
||||||
src: '/usr/share/munin/plugins/memcached_'
|
src: '/usr/share/munin/plugins/memcached_'
|
||||||
dest: /etc/munin/plugins/{{ item }}
|
dest: /etc/munin/plugins/{{ multi }}{{ item }}
|
||||||
state: link
|
state: link
|
||||||
with_items:
|
with_items:
|
||||||
- memcached_bytes
|
- memcached_bytes
|
||||||
|
|
Loading…
Reference in a new issue