Skip to content
Snippets Groups Projects
Commit d9b6114d authored by root's avatar root
Browse files

Added sysctlconfig variable to change host sysctl parameters

parent ab8eb09e
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,11 @@ dslproxy: "dsldev.gn4-3-wp8-soc.sunet.se" ...@@ -23,6 +23,11 @@ dslproxy: "dsldev.gn4-3-wp8-soc.sunet.se"
kspass: "Testing003" kspass: "Testing003"
tspass: "Testing003" tspass: "Testing003"
sysctlconfig:
- { key: "net.core.rmem_max", val: "2097152" }
- { key: "net.core.wmem_max", val: "2097152" }
- { key: "vm.max_map_count" , val: "524288" }
javamem: "384m" javamem: "384m"
ca_cn: "dsldev test ca" ca_cn: "dsldev test ca"
......
--- ---
- include: system.yml
- include: centos.yml - include: centos.yml
- include: nginx.yml - include: nginx.yml
- include: openjdk.yml - include: openjdk.yml
......
---
- name: Set sysctl parameters
sysctl:
name: "{{item.key}}"
value: "{{item.val}}"
sysctl_file: /etc/sysctl.d/54-soctools.conf
sysctl_set: yes
with_items:
- "{{sysctlconfig}}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment