roles/pleroma/tasks/main.yaml
changeset 67 bd34ae082697
parent 66 652a236229c2
child 69 be979818d483
equal deleted inserted replaced
66:652a236229c2 67:bd34ae082697
    73     MIX_ENV: "prod"
    73     MIX_ENV: "prod"
    74 
    74 
    75 - name: install pleroma systemd service
    75 - name: install pleroma systemd service
    76   template:
    76   template:
    77     src: "pleroma.service.j2"
    77     src: "pleroma.service.j2"
    78     dest: "/lib/systemd/system/pleroma.service"
    78     dest: "/lib/systemd/system/{{pleroma_user}}.service"
    79     owner: "{{pleroma_user}}"
    79     owner: "{{pleroma_user}}"
    80     group: "{{pleroma_user}}"
    80     group: "{{pleroma_user}}"
    81     mode: "0770"
    81     mode: "0770"
    82   become: yes
    82   become: yes
    83 
    83 
    84 - name: enable pleroma systemd service
    84 - name: enable pleroma systemd service
    85   systemd: name="pleroma" enabled="yes" state="started"
    85   systemd: name="{{pleroma_user}}" enabled="yes" state="started"
    86   become: yes
    86   become: yes