I want to provision a Windows Docker container with Ansible, but I am confused about how exactly it will work.
For instance if I use Packer with Linux, I know I can run
ansible (which is ansible remote) and
ansible-local. I have to build my Windows Docker containers from a Windows computer and the Windows computer cannot be an Ansible master at this point.
Does any tool, possibly Packer for Windows handle things automatically and spin up a Linux Ansible Master VM to run the playbooks automatically?
How can I easily provision Windows containers with Ansible as part of my image build process?
I am currently using Windows 10 Enterprise and Windows Server 2016 is on the horizon.
What did you try? Please add a packer snippet.