writefreely/server/handlers/main.yaml
changeset 159 05d0cf32e077
parent 26 b0e4ad2f4291
child 171 534b247bed1c
equal deleted inserted replaced
158:1b7ccb729164 159:05d0cf32e077
       
     1 ---
       
     2 
       
     3 - name: reload service
       
     4   become: yes
       
     5   systemd: name="writefreely@{{writefreely_instance}}.service" enabled="yes" daemon_reload="yes"
       
     6 
       
     7 - name: migrate db
       
     8   become: yes
       
     9   become_user: "{{writefreely_user}}"
       
    10   command: "writefreely db migrate"
       
    11   args:
       
    12     chdir: "{{writefreely_dir}}/{{writefreely_instance}}/"