ansible-collections/community.docker ? reverse-engineered prompt

Reverse engineered prompt

Build me an Ansible collection for Docker that makes it easy to manage containers, images, networks, volumes, registries, and swarm resources from playbooks.

I want the collection to include the usual Docker connection and inventory plugins too, so I can use Docker containers as targets and discover containers or swarm nodes as inventory. It should support the common day to day tasks like running commands in a container, copying files in, pulling and pushing images, building images, logging in to registries, and getting info about the Docker daemon and resources.

Please make it feel like a real, polished Ansible collection, with good docs, tests, and clean module behavior, and make sure it works with current supported Ansible versions. If you need to check current Docker or Ansible docs while building it, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab