infrastructure/roles/mastodon/handlers/main.yml
saibotk db8aeefacb
format: Satisfy ansible-lint
This patch makes minor formatting adjustments & adds handlers to mastodon where appropriate to satisfy ansible-lint.
2021-09-14 01:45:22 +02:00

15 lines
345 B
YAML

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