summaryrefslogtreecommitdiff
path: root/ansible-continuous-delivery/roles/install-postgres/handlers/main.yml
diff options
context:
space:
mode:
authorAntoine Ouvrard <antoine.ouvrard@zextras.fr>2023-03-09 17:27:02 +0100
committerAntoine Ouvrard <antoine.ouvrard@zextras.fr>2023-03-09 17:27:02 +0100
commit749b7a84a0a7f74a3327ecad8110b2806a9d77e6 (patch)
treededbf8026a9ed2a6087ef99274fe7ddcea716215 /ansible-continuous-delivery/roles/install-postgres/handlers/main.yml
parent0495c4425e67eafe8e23aac49052564a6207ae27 (diff)
readd directory
Diffstat (limited to 'ansible-continuous-delivery/roles/install-postgres/handlers/main.yml')
-rw-r--r--ansible-continuous-delivery/roles/install-postgres/handlers/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible-continuous-delivery/roles/install-postgres/handlers/main.yml b/ansible-continuous-delivery/roles/install-postgres/handlers/main.yml
new file mode 100644
index 0000000..161bcc4
--- /dev/null
+++ b/ansible-continuous-delivery/roles/install-postgres/handlers/main.yml
@@ -0,0 +1,7 @@
+---
+- name: Restart postgres
+ ansible.builtin.systemd:
+ name: postgresql
+ state: restarted
+ daemon_reload: true
+ enabled: true