use mastodon git to build

This commit is contained in:
Antonio J. Delgado 2022-11-19 19:00:40 +02:00
parent da90873cf5
commit d074a4e459
2 changed files with 2 additions and 3 deletions

View file

@ -59,7 +59,7 @@ redis_port: 6379
db_host: /var/run/postgresql
self_signed_cert_location: /etc/ssl/certs
self_signed_key_location: /etc/ssl/private
mastodon_composer_folder: /etc/mastodon_docker_compose
mastodon_composer_folder: /usr/src/mastodon
es_enabled: 'false'
es_host: localhost

View file

@ -2,12 +2,11 @@
- name: Clone Mastodon repo
git:
repo: https://github.com/mastodon/mastodon.git
dest: /usr/src/mastodon
dest: "{{ mastodon_composer_folder }}"
depth: 1
- name: Copy Dockerfile from Mastodon repo
copy:
# remote_src: true
src: files/Dockerfile
dest: "{{ mastodon_composer_folder }}/Dockerfile"