build: fix database file in deployment

This commit is contained in:
James Graham
2022-03-31 15:37:07 +01:00
parent 055e1080dd
commit 8b8a05597c
2 changed files with 6 additions and 1 deletions

View File

@@ -59,6 +59,11 @@
- Caddyfile
- docker-compose.yml
- name: Create database file
ansible.builtin.file:
path: "{{ project_dir }}/db.sqlite3"
state: touch
- name: Start Docker
ansible.builtin.systemd:
name: docker