Open eitzenbe opened 2 years ago
The role is tested to run on Windows Server 2019. There is a way to setup Docker on a Windows 10 client but this involves installing Docker Desktop and is somewhat more difficult. The following article goes through the installation which looks possible to implement in Ansible. If you feel so inclined - you're welcome to PR such a change.
TASK [jimbo8098.windows_docker_role : Install latest Docker version] *** task path: /home/thomas/.ansible/roles/jimbo8098.windows_docker_role/tasks/main.yml:51 redirecting (type: modules) ansible.builtin.win_dsc to ansible.windows.win_dsc fatal: [192.168.2.189]: FAILED! => {"changed": false, "module_version": "1.4.7", "msg": "Failed to invoke DSC Set method: PowerShell DSC resource MSFT_PackageManagement failed to execute Set-TargetResource functionality with error message: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: Docker Engine - Enterprise is not supported on Windows 10 client. See https://aka.ms/docker-for-windows instead. ", "reboot_required": false}