infrastructure/roles/mastodon/handlers/main.yml
2022-08-13 17:50:54 +02:00

15 lines
379 B
YAML

---
# Handlers file for the mastodon role
- name: Pull mastodon image
community.docker.docker_image:
name: "docker.io/tootsuite/mastodon:{{ mastodon_image_version }}"
source: pull
become: true
- name: Stop mastodon for upgrade
community.docker.docker_compose:
state: present
project_src: "{{ mastodon_install_location }}"
stopped: true
become: true