✨: move phpbb to app dir
This commit is contained in:
13
roles/phpbb/tasks/migrate_db.yml
Normal file
13
roles/phpbb/tasks/migrate_db.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
- name: Migrate db
|
||||
become_user: www-data
|
||||
ansible.builtin.command:
|
||||
cmd: "/usr/bin/php bin/phpbbcli.php db:migrate"
|
||||
chdir: "{{ phpbb_app_home }}"
|
||||
changed_when: false
|
||||
|
||||
- name: Remove install directory
|
||||
ansible.builtin.file:
|
||||
dest: "{{ phpbb_app_home }}/install"
|
||||
state: absent
|
Reference in New Issue
Block a user