dendrite/server/tasks/main.yaml
changeset 186 c48761176ede
parent 183 b31ef0e10cad
child 211 9e2b2cc6ccf1
equal deleted inserted replaced
185:11e3b643c6ef 186:c48761176ede
   114 - name: install systemd service
   114 - name: install systemd service
   115   become: yes
   115   become: yes
   116   template:
   116   template:
   117     src: "[email protected]"
   117     src: "[email protected]"
   118     dest: "/lib/systemd/system/[email protected]"
   118     dest: "/lib/systemd/system/[email protected]"
       
   119   notify: restart service
   119 
   120 
   120 - name: ensure instance service is stopped
   121 - name: ensure instance service is stopped
   121   become: yes
   122   become: yes
   122   systemd: name="dendrite@{{dendrite_instance}}.service" enabled="no" state="stopped" daemon_reload="yes"
   123   systemd: name="dendrite@{{dendrite_instance}}.service" enabled="no" state="stopped" daemon_reload="yes"
   123 
   124