mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
Tweak kernel.shmmax for postgres.
This commit is contained in:
@@ -13,6 +13,11 @@
|
||||
- packages
|
||||
- postgresql
|
||||
|
||||
- name: Set kernel shared memory max to a larger value
|
||||
sysctl: name=kernel.shmmax value=68719476736
|
||||
notify:
|
||||
- restart postgresql
|
||||
|
||||
- name: Initialize postgres if necessary
|
||||
command: /usr/bin/postgresql-setup initdb creates=/var/lib/pgsql/data
|
||||
notify:
|
||||
|
||||
Reference in New Issue
Block a user