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