---

- name: Restart docker daemon
  ansible.builtin.command:
      cmd: /usr/bin/systemctl reload-or-restart docker.service

- name: Start inverseproxy docker
  community.docker.docker_compose:
      project_src: /home/docker/inverseproxy
      recreate: always
      restarted: true
      remove_orphans: true
  async: 120
  poll: 10
  when: not ansible_check_mode
