Hi, I've hacked a bit on Windows Container support for Ansible during the weekend, and have pushed a working copy here: https://github.com/trondhindenes/ansible/tree/win_containers
Essentially the win_containers thingy is implemented as separate connection and shell types, and get invoked by using a hosts file entry like this: awscontainer ansible_host=10.245.8.26 ansible_connection=winrm_containers containerid=<full container id of a running container> This works quite simply by "regular" remoting to the host, and then using the "invoke-command -ContainerId <containerid>" from there to execute the command. I've only tested this on Windows 2016 running a container based on the "microsoft/windowsservercore" image. I think Ansible could be a powerful thing to use with Windows containers, for the same reasons as the "ansible containers" project - it allows for much more advanced configuration/building of an image than what a Dockerfile does, and especially given Windows' reliance on api's instead of text files for management, I'd say this is even more true on Windows than on Linux. My code is very rough since I don't fully understand the internals of Ansible, it was just meant as an excercise. -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.