Skip to content

Instantly share code, notes, and snippets.

@thom8
Created September 25, 2016 10:26
Show Gist options
  • Save thom8/7887dae2fd74649de73937369ecb6039 to your computer and use it in GitHub Desktop.
Save thom8/7887dae2fd74649de73937369ecb6039 to your computer and use it in GitHub Desktop.
---
- name: Import db.
command: >
{{ drush_path }} sql-sync -y {{ drupal_import_source }} @self
chdir={{ beet_root }}
when: drupal_import_db is defined
become: no
- name: Run database updates.
command: >
{{ drush_path }} updb -y
chdir={{ beet_root }}
when: drupal_updb is defined
become: no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment