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