add copy of dockerfile

This commit is contained in:
Antonio J. Delgado 2022-11-19 18:30:33 +02:00
parent 9c7ddea536
commit ae57bce634

View file

@ -1,9 +1,15 @@
---
# - name: Clone Mastodon repo
# git:
# repo: https://github.com/mastodon/mastodon.git
# dest: "{{ mastodon_composer_folder }}"
# depth: 1
- name: Clone Mastodon repo
git:
repo: https://github.com/mastodon/mastodon.git
dest: /usr/src/mastodon
depth: 1
- name: Copy Dockerfile from Mastodon repo
copy:
remote_src: true
src: /usr/src/mastodon/Dockerfile
dest: "{{ mastodon_composer_folder }}/Dockerfile"
- name: Ensure mastodon folder exists
file: