roles/pleroma-otp/tasks/main.yaml
changeset 87 4f87097dd651
parent 85 dcfd23308c32
child 88 63efc98132f7
equal deleted inserted replaced
86:3dcdaac4adbf 87:4f87097dd651
    77 #   file: path="{{item}}" state="absent"
    77 #   file: path="{{item}}" state="absent"
    78 #   with_items:
    78 #   with_items:
    79 #     - "/tmp/setup_db.psql"
    79 #     - "/tmp/setup_db.psql"
    80 #     - "/tmp/release/"
    80 #     - "/tmp/release/"
    81 
    81 
    82 - name: "configure pleroma systemd service"
    82 - name: configure pleroma systemd service
    83   become: yes
    83   become: yes
    84   copy:
    84   copy:
    85     src: "[email protected]"
    85     src: "[email protected]"
    86     dest: "/lib/systemd/system/[email protected]"
    86     dest: "/lib/systemd/system/[email protected]"
    87   notify: restart pleroma instance
    87   notify: restart pleroma instance
    88 
    88 
    89 - name: "ensure pleroma {{pleroma_instance}} instance is enabled and started"
    89 - name: ensure pleroma instance is enabled and started
    90   become: yes
    90   become: yes
    91   systemd: name="pleroma@{{pleroma_instance}}.service" enabled="yes" state="started"
    91   systemd: name="pleroma@{{pleroma_instance}}.service" enabled="yes" state="started"
    92 
    92 
    93 - name: migrate db
    93 - name: migrate db
    94   become: yes
    94   become: yes