nostr/relayer/tasks/main.yaml
changeset 237 c6c11084c802
parent 217 e69a030975c4
equal deleted inserted replaced
236:55fe664e0a05 237:c6c11084c802
    46     src: "setup_db.psql.j2"
    46     src: "setup_db.psql.j2"
    47     dest: "/tmp/setup_db_relayer.psql"
    47     dest: "/tmp/setup_db_relayer.psql"
    48     owner: "postgres"
    48     owner: "postgres"
    49     group: "postgres"
    49     group: "postgres"
    50     mode: "0600"
    50     mode: "0600"
       
    51   changed_when: false
    51 
    52 
    52 - name: install db schema psql
    53 - name: install db schema psql
    53   become: yes
    54   become: yes
    54   become_user: "postgres"
    55   become_user: "postgres"
    55   command: "psql -f /tmp/setup_db_relayer.psql"
    56   command: "psql -f /tmp/setup_db_relayer.psql"