Sha256: fce30f55d5edb3be246136d69e130e4d6f8315b28955ed68136a1afb9cec2e2d

Contents?: true

Size: 449 Bytes

Versions: 35

Compression:

Stored size: 449 Bytes

Contents

- include: db_reset.yml
  when: force_db_reset is defined and force_db_reset
  tags: [db_reset]

- name: Migrate DB
  remote_user: "{{ deployer_user.name }}"
  command: chdir={{ be_app_path }}
           bash -lc "bundle exec rake db:migrate RAILS_ENV={{be_app_env}}"
  tags: [be_deploy,migrate,db_reset]
  when: (app_checkout is defined and app_checkout.changed)
        or rake.force_migrate 
        or (db_reset is defined and db_reset.changed)

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
taperole-1.2.8 roles/database_load/tasks/main.yml
taperole-1.2.7 roles/database_load/tasks/main.yml
taperole-1.2.6 roles/database_load/tasks/main.yml
taperole-1.2.5 roles/database_load/tasks/main.yml
taperole-1.2.4 roles/database_load/tasks/main.yml
taperole-1.2.3 roles/database_load/tasks/main.yml
taperole-1.2.2 roles/database_load/tasks/main.yml
taperole-1.2.1 roles/database_load/tasks/main.yml
taperole-1.2.0 roles/database_load/tasks/main.yml
taperole-1.1.5 roles/database_load/tasks/main.yml
taperole-1.1.4 roles/database_load/tasks/main.yml
taperole-1.1.3 roles/database_load/tasks/main.yml
taperole-1.1.2 roles/database_load/tasks/main.yml
taperole-1.1.1 roles/database_load/tasks/main.yml
taperole-1.1.0 roles/database_load/tasks/main.yml