Skip to content

Commit

Permalink
Move common skip_guids_option out of PULL block
Browse files Browse the repository at this point in the history
  • Loading branch information
pacotole committed Aug 3, 2022
1 parent c57c3f3 commit d915885
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
msg: "ERROR: development is not a valid environment for this mode (you can't push/pull from development to development)."
when: env == "development"

- name: Modify GUID columns
set_fact:
skip_guids_option: ""
when: "skip_guids_column == 'false'"

- name: PULL database
block:
- name: Modify GUID columns
set_fact:
skip_guids_option: ""
when: "skip_guids_column == 'false'"

- name: PULL > Export & gzip {{ env }} database
shell: 'wp db export {{ sync_file }} --skip-plugins --skip-themes && gzip -q {{ sync_file }}'
args:
Expand Down

0 comments on commit d915885

Please sign in to comment.