18 lines
409 B
YAML
18 lines
409 B
YAML
|
|
---
|
|
|
|
- name: '[CONFIGURE] - Deploy db config file'
|
|
template:
|
|
src: 'db.inc.php.j2'
|
|
dest: "{{ movim_latest_path }}/config/db.inc.php"
|
|
mode: 0644
|
|
owner: "{{ movim_app_username }}"
|
|
group: "{{ movim_app_group }}"
|
|
|
|
- name: '[CONFIGURE] - run db migration'
|
|
shell:
|
|
cmd: "composer movim:migrate"
|
|
chdir: "{{ movim_latest_path }}"
|
|
become: yes
|
|
become_user: '{{ movim_app_username }}'
|