--- - name: Stop and remove ghost stack community.docker.docker_compose_v2: project_src: /opt/stacks/ghost-1 state: absent ignore_errors: true - name: Remove ghost directory ansible.builtin.file: path: /opt/stacks/ghost-1 state: absent