2021-09-14 01:45:22 +02:00
|
|
|
---
|
|
|
|
# Handlers file for the mastodon role
|
|
|
|
|
|
|
|
- name: Pull mastodon image
|
2022-08-13 17:50:54 +02:00
|
|
|
community.docker.docker_image:
|
2021-09-14 01:45:22 +02:00
|
|
|
name: "docker.io/tootsuite/mastodon:{{ mastodon_image_version }}"
|
|
|
|
source: pull
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: Stop mastodon for upgrade
|
2024-02-22 00:37:48 +01:00
|
|
|
community.docker.docker_compose_v2:
|
|
|
|
state: stopped
|
2021-09-14 01:45:22 +02:00
|
|
|
project_src: "{{ mastodon_install_location }}"
|
|
|
|
become: true
|