We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bf9135 commit 40bd767Copy full SHA for 40bd767
salt/patch_dashboard_001.sls
@@ -6,7 +6,7 @@
6
PATCH_COUNTRIES_Database:
7
cmd.run:
8
- name: >
9
- PGPASSWORD={{ POSTGRES_PASSWORD }} psql -U postgres -h {{ TETHYS_DB_HOST }} -d geoglows_dashboard_primary_db -c "DROP DATABASE countries;"
+ PGPASSWORD={{ POSTGRES_PASSWORD }} psql -U postgres -h {{ TETHYS_DB_HOST }} -d geoglows_dashboard_primary_db -c "DROP TABLE countries;"
10
- shell: /bin/bash
11
- unless: /bin/bash -c "[ -f "{{ TETHYS_PERSIST }}/patch_001_geoglows_dashboard_complete" ];"
12
0 commit comments