blob: 3fb46a40a73868c90320723d6f4d8fdaf79934a3 [file] [log] [blame]
---
# xos-clear-db/tasks/main.yml
- name: Copy over database cleanup script
copy:
src: xos_clear_db.sql
dest: /tmp/xos_clear_db.sql
- name: Run database cleanup script
command: "psql -U postgres -d xos -f /tmp/xos_clear_db.sql"
tags:
- skip_ansible_lint # test scenario destructive script