blob: 3fb46a40a73868c90320723d6f4d8fdaf79934a3 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# xos-clear-db/tasks/main.yml
3
4- name: Copy over database cleanup script
5 copy:
6 src: xos_clear_db.sql
7 dest: /tmp/xos_clear_db.sql
8
9- name: Run database cleanup script
10 command: "psql -U postgres -d xos -f /tmp/xos_clear_db.sql"
11 tags:
12 - skip_ansible_lint # test scenario destructive script
13