pleroma/otp/tasks/instance.yaml
changeset 237 c6c11084c802
parent 185 11e3b643c6ef
equal deleted inserted replaced
236:55fe664e0a05 237:c6c11084c802
    29     src: "setup_db.psql.j2"
    29     src: "setup_db.psql.j2"
    30     dest: "/tmp/setup_db_{{pleroma_instance}}.psql"
    30     dest: "/tmp/setup_db_{{pleroma_instance}}.psql"
    31     owner: "{{pleroma_db_superuser}}"
    31     owner: "{{pleroma_db_superuser}}"
    32     group: "{{pleroma_db_superuser}}"
    32     group: "{{pleroma_db_superuser}}"
    33     mode: "0600"
    33     mode: "0600"
       
    34   changed_when: false
    34 
    35 
    35 - name: install pleroma psql
    36 - name: install pleroma psql
    36   become: yes
    37   become: yes
    37   become_user: "{{pleroma_db_superuser}}"
    38   become_user: "{{pleroma_db_superuser}}"
    38   command: "psql -f /tmp/setup_db_{{pleroma_instance}}.psql"
    39   command: "psql -f /tmp/setup_db_{{pleroma_instance}}.psql"