- name: restart container community.docker.docker_compose_v2: project_src: "{{ path }}" project_name: "{{ role_name }}" recreate: "always" services: ["changedetection"] state: "restarted" when: not _changedetection_already_restarted