ansible / ansible-container

DEPRECATED -- Ansible Container was a tool to build Docker images and orchestrate containers using only Ansible playbooks.
GNU Lesser General Public License v3.0
2.19k stars 392 forks source link

Create Dockerfile from Ansible roles #970

Closed hackermd closed 6 years ago

hackermd commented 6 years ago
ISSUE TYPE
SUMMARY

There are now tools for converting ("importing") a Dockerfile into Ansible roles. There may be use cases were one would like to do the reverse, i.e. convert ("export") a set of Ansible roles into a Dockerfile.

Is there any existing functionality that I may have overlooked? If not, is that something you are considering supporting in the future?

Voronenko commented 6 years ago

As ansible roles relay on a python logic, in most of scenarios no direct mapping exist to shell commands (usually executed in Dockerfile)