forked from ISTI-ansible-roles/ansible-roles
swappiness to 1 for couchbase nodes
This commit is contained in:
parent
844abcbeaa
commit
469b03b4a1
|
@ -46,6 +46,8 @@ couchbase_backup_dest_dir: /var/cache
|
||||||
couchbase_backup_command: /opt/couchbase/bin/cbbackup
|
couchbase_backup_command: /opt/couchbase/bin/cbbackup
|
||||||
couchbase_backup_type: full
|
couchbase_backup_type: full
|
||||||
|
|
||||||
|
couchbase_swappiness: 1
|
||||||
|
|
||||||
couchbase_ganglia_plugin_enabled: True
|
couchbase_ganglia_plugin_enabled: True
|
||||||
#couchbase_ganglia_url_username:
|
#couchbase_ganglia_url_username:
|
||||||
#couchbase_ganglia_url_password:
|
#couchbase_ganglia_url_password:
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
- include: couchbase.yml
|
- include: couchbase.yml
|
||||||
|
- include: swappiness.yml
|
||||||
- include: ganglia-plugin.yml
|
- include: ganglia-plugin.yml
|
||||||
when: ganglia_enabled
|
when: ganglia_enabled
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: couchbase swappiness
|
||||||
|
sysctl: name=vm.swappiness value={{ couchbase_swappiness }} state=present reload=yes
|
||||||
|
tags:
|
||||||
|
- couchbase_swap
|
Loading…
Reference in New Issue