ansible-role-mastodon/tasks/docker/docker.yml

18 lines
438 B
YAML
Raw Normal View History

2022-11-19 16:31:16 +01:00
---
- name: Clone Mastodon repo
git:
repo: https://github.com/mastodon/mastodon.git
dest: /usr/src/mastodon
depth: 1
2022-11-19 16:47:52 +01:00
- name: Ensure mastodon configuration is present
template:
src: templates/env.j2
dest: /usr/src/mastodon/.env.production
2022-11-19 16:31:16 +01:00
- name: Ensure Mastodon container is composed
community.docker.docker_compose:
project_name: mastodon
project_src: /usr/src/mastodon
state: present