Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dennis Hoppe
infrastructure
Commits
7c67283d
Verified
Commit
7c67283d
authored
Mar 02, 2018
by
Florian Pritz
Browse files
Enable cpu/memory accounting for postgres
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
419d6559
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/postgres/tasks/main.yml
View file @
7c67283d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment