---
- name: Docker | include vars
  include_vars: "{{ ansible_os_family|lower }}.yml"

- name: Docker | Check if Docker is installed
  win_service:
    name: Docker
  register: docker_service

- name: Docker | Install docker
  block:
    - name: Docker | Install docker
      include_tasks: ./install_docker.yml
  when: not docker_service.exists
