Verified Commit 7c67283d authored by Florian Pritz's avatar Florian Pritz
Browse files

Enable cpu/memory accounting for postgres


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 419d6559
......@@ -25,6 +25,9 @@
- name: start and enable postgres
service: name=postgresql enabled=yes state=started
- name: enable systemd ressource accounting
command: systemctl set-property postgresql CPUAccounting=yes MemoryAccounting=yes
- name: set postgres user password
postgresql_user: name=postgres password={{ postgres_users.postgres }} encrypted=yes
become: yes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment