Entferne Datenbankerstellung per rake

This commit is contained in:
phil 2021-12-18 22:35:09 +01:00
parent 65d65c1193
commit 4063b8306d

View file

@ -34,16 +34,6 @@
changed_when: false changed_when: false
failed_when: "unused_disable is failed and ('find' not in unused_disable.msg and 'found' not in unused_disable.msg)" failed_when: "unused_disable is failed and ('find' not in unused_disable.msg and 'found' not in unused_disable.msg)"
- name: "database: Befülle Datenbank"
shell: "rbenv exec bundle exec rake db:create"
args:
chdir: "{{ zammad_home }}"
become: true
become_user: "{{ zammad_user }}"
environment:
RAILS_ENV: production
when: database_created.changed
- name: "database: Führe Migrationen aus" - name: "database: Führe Migrationen aus"
shell: "rbenv exec bundle exec rake db:migrate" shell: "rbenv exec bundle exec rake db:migrate"
args: args: