aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/postgres/handlers
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-08-13 14:59:36 +0100
committerGravatar Chris Lovering <[email protected]>2023-08-13 15:54:03 +0100
commit431585b5256a0d08f4f3c33122465a88a93ddcb1 (patch)
tree4cc41cda81655332fa467e6c9c85d1ee9c35b90e /ansible/roles/postgres/handlers
parentServe static files from Turing (#116) (diff)
Move all ansible files to their own folder
Diffstat (limited to 'ansible/roles/postgres/handlers')
-rw-r--r--ansible/roles/postgres/handlers/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/roles/postgres/handlers/main.yml b/ansible/roles/postgres/handlers/main.yml
new file mode 100644
index 0000000..a036301
--- /dev/null
+++ b/ansible/roles/postgres/handlers/main.yml
@@ -0,0 +1,4 @@
+- name: Restart postgres.
+ service:
+ name: '{{ postgresql_daemon }}'
+ state: "restarted"