--- - name: restart docker nginx service command: cmd: "docker exec {{applications.nextcloud.container.proxy}} nginx -s reload" listen: restart docker nginx service ignore_errors: true # Ignoring if container is restarting