move to /srv
This commit is contained in:
parent
5331d25c4a
commit
5bf6d7acbc
13 changed files with 44 additions and 46 deletions
|
@ -1,15 +1,15 @@
|
|||
- name: Create Mastodon app directory
|
||||
file:
|
||||
path: /apps/mastodon
|
||||
path: /srv/mastodon
|
||||
state: directory
|
||||
- name: Copy .env.production
|
||||
copy:
|
||||
src: "{{ role_path }}/files/.env.production"
|
||||
dest: /apps/mastodon/.env.production
|
||||
dest: /srv/mastodon/.env.production
|
||||
- name: Copy Docker Compose script
|
||||
template:
|
||||
src: "{{ role_path }}/templates/docker-compose.yml.j2"
|
||||
dest: /apps/mastodon/docker-compose.yml
|
||||
dest: /srv/mastodon/docker-compose.yml
|
||||
- name: Create Mastodon data directory
|
||||
file:
|
||||
path: /data/mastodon
|
||||
|
@ -17,6 +17,6 @@
|
|||
mode: 0777
|
||||
- name: Start Docker Compose
|
||||
docker_compose:
|
||||
project_src: /apps/mastodon
|
||||
project_src: /srv/mastodon
|
||||
pull: true
|
||||
remove_orphans: true
|
||||
|
|
Reference in a new issue