use mastodon git to build
This commit is contained in:
parent
da90873cf5
commit
d074a4e459
2 changed files with 2 additions and 3 deletions
|
@ -59,7 +59,7 @@ redis_port: 6379
|
||||||
db_host: /var/run/postgresql
|
db_host: /var/run/postgresql
|
||||||
self_signed_cert_location: /etc/ssl/certs
|
self_signed_cert_location: /etc/ssl/certs
|
||||||
self_signed_key_location: /etc/ssl/private
|
self_signed_key_location: /etc/ssl/private
|
||||||
mastodon_composer_folder: /etc/mastodon_docker_compose
|
mastodon_composer_folder: /usr/src/mastodon
|
||||||
|
|
||||||
es_enabled: 'false'
|
es_enabled: 'false'
|
||||||
es_host: localhost
|
es_host: localhost
|
||||||
|
|
|
@ -2,12 +2,11 @@
|
||||||
- name: Clone Mastodon repo
|
- name: Clone Mastodon repo
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/mastodon/mastodon.git
|
repo: https://github.com/mastodon/mastodon.git
|
||||||
dest: /usr/src/mastodon
|
dest: "{{ mastodon_composer_folder }}"
|
||||||
depth: 1
|
depth: 1
|
||||||
|
|
||||||
- name: Copy Dockerfile from Mastodon repo
|
- name: Copy Dockerfile from Mastodon repo
|
||||||
copy:
|
copy:
|
||||||
# remote_src: true
|
|
||||||
src: files/Dockerfile
|
src: files/Dockerfile
|
||||||
dest: "{{ mastodon_composer_folder }}/Dockerfile"
|
dest: "{{ mastodon_composer_folder }}/Dockerfile"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue