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

Updated some email fields

parent cac3d730
No related branches found
No related tags found
No related merge requests found
......@@ -76,11 +76,22 @@
- 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
- name: Email Subscribers 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: Email Subscribers ig_es_adminemail updated
shell: "wp option update ig_es_adminemail 'contact@coops.tech' --allow-root"
args:
chdir: /home/cotechdev/sites/web
- name: Email Subscribers ig_es_fromemail updated
shell: "wp option update ig_es_fromemail '{{ item }}@{{ hostname }}' --allow-root"
args:
chdir: /home/cotechdev/sites/web
with_items: "{{ users }}"
- name: Dev uploads directory in place
file:
path: /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