--- - name: Verify hosts: all gather_facts: false tasks: - name: Include vars ansible.builtin.include_vars: file: ../../defaults/main.yml - name: Try and stop and remove wallabag community.docker.docker_container: name: "{{ wallabag_container_name }}" state: absent register: result - name: Check if wallabag is stopped ansible.builtin.assert: that: - not result.changed