roles/pleroma/tasks/main.yaml
changeset 62 63586cf10d46
parent 60 48a3a65119d5
child 63 56531bbfd074
--- a/roles/pleroma/tasks/main.yaml	Mon Aug 20 10:22:45 2018 -0500
+++ b/roles/pleroma/tasks/main.yaml	Wed Sep 05 16:42:56 2018 -0500
@@ -54,11 +54,13 @@
   with_items:
     - "setup_db.psql"
     - "dev.secret.exs"
+  notify: restart pleroma
 
 - name: install pleroma psql
   become: yes
   become_user: "postgres"
   command: "psql -f ~{{pleroma_user}}/pleroma/config/setup_db.psql"
+  notify: restart pleroma
 
 - name: migrate db
   become: yes
@@ -71,6 +73,7 @@
     - "mix local.rebar --force"
     - "mix deps.get"
     - "mix ecto.migrate"
+  notify: restart pleroma
 
 - name: install pleroma systemd service
   template: