saibotk
70341479b1
This now uses the new docker compose plugin. Because we used docker-compose v1.24.1 to this point due to centos needing to install C toolchains to build never versions, the newest Docker v25 breaks compatibility and we need to use something newer.
14 lines
364 B
YAML
14 lines
364 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_v2:
|
|
state: stopped
|
|
project_src: "{{ mastodon_install_location }}"
|
|
become: true
|