pleroma/otp/tasks/main.yaml
changeset 143 7d4a477be685
parent 141 0708c9c075fc
child 227 2e0366f2dcbe
equal deleted inserted replaced
142:3f0f6964a903 143:7d4a477be685
     4   become: yes
     4   become: yes
     5   user: name="pleroma" shell="/bin/false" home="/opt/pleroma" system="yes"
     5   user: name="pleroma" shell="/bin/false" home="/opt/pleroma" system="yes"
     6 
     6 
     7 - name: apt install pleroma dependencies
     7 - name: apt install pleroma dependencies
     8   become: yes
     8   become: yes
     9   apt: name="libtinfo5"
     9   apt: name="{{item}}"
       
    10   loop:
       
    11     - "libmagic-dev"
       
    12     - "libtinfo5"
    10 
    13 
    11 - name: create pleroma config and data directories
    14 - name: create pleroma config and data directories
    12   become: yes
    15   become: yes
    13   file:
    16   file:
    14     path: "{{item}}"
    17     path: "{{item}}"
    15     state: "directory"
    18     state: "directory"
    16     mode: "0755"
    19     mode: "0755"
    17   with_items:
    20   loop:
    18     - "{{pleroma_data_dir}}"
    21     - "{{pleroma_data_dir}}"
    19     - "/etc/pleroma"
    22     - "/etc/pleroma"
    20     - "/opt/pleroma"
    23     - "/opt/pleroma"
    21 
    24 
    22 - name: configure pleroma systemd service
    25 - name: configure pleroma systemd service