--- # 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