I find docker_image module, but this module is deprecated.
So now, I using commands module.
Can i build docker image any way?
I find docker_image module, but this module is deprecated.
So now, I using commands module.
Can i build docker image any way?
Yeah so we find it odd that a Dockerfile, that usually contains ansible-playbooks, would be executed by Ansible.
We think in most cases it would be executed by a build system (like Jenkins), or even a Makefile… and that like most packaging tools it would be done before the ansible-playbook was run.
So the command module is we think the nice way to go, if you really want to do that, and I think that’s fine.
Hope this helps!