Skip to content
Snippets Groups Projects
Commit cac3d730 authored by Chris Croome's avatar Chris Croome
Browse files

Drop records from the wp_es_emaillist table on dev

parent e8903f82
No related branches found
No related tags found
No related merge requests found
......@@ -76,5 +76,18 @@
- name: Dev database overwritten with live data
shell: "cat /home/cotech/private/cotech.sql | mysql cotechdev"
- name: All records in the wp_es_emaillist table deleted on dev
shell: "wp db query 'DELETE FROM wp_es_emaillist' --allow-root"
args:
chdir: /home/cotechdev/sites/web
- name: Dev uploads directory in place
file:
path: /home/cotechdev/sites/web/app/uploads
state: directory
owner: cotechdev
group: cotechdev
mode: 0755
- name: Live files rsynced to dev
command: "rsync -aq --chown=cotechdev:cotechdev --chmod=D2775,F0664 /home/cotech/sites/web/app/uploads/ /home/cotechdev/sites/web/app/uploads/"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment