forked from ISTI-ansible-roles/ansible-roles
9 lines
327 B
YAML
9 lines
327 B
YAML
---
|
|
- name: Configure the kernel shared memory to please postgresql
|
|
sysctl: name={{ item.name }} value={{ item.value }} sysctl_file=/etc/sysctl.d/{{ psql_sysctl_file }} reload=yes state=present
|
|
with_items: '{{ psql_sysctl_kernel_sharedmem_parameters }}'
|
|
when: psql_set_shared_memory
|
|
tags:
|
|
- sysctl
|
|
- postgresql
|