You might want to take a look at Ansible Container: https://github.com/ansible/ansible-container
On Mon, Nov 7, 2016 at 8:18 PM, Steven Truong <[email protected]> wrote: > Hi all, > > Am I being too picky here or just being naive in the ways I approach my > works with Docker? There are times when I build a Docker image and then > when I run the container with some environment variables then my start/entry > point scripts still have to replace some config files some where with the > environment variables' values. The most common practice for this type of > situation is to use sed or some sort of shell capabilities to take care > these. Honestly I hate going this way. > > I wish I could just use Ansible for this type of situation but adding > Ansible and dependencies to the container image increases the size and it is > not ideal to have full Ansible functionalities in the container. So is it > possible to create a core Ansible package aiming for the container situation > that includes some of the base modules or at least just the base modules? > Or do we have ways to assemble Ansible based on what the users might need > to reduce size in the container? > > Or just forget about it and add Ansible and its dependencies and call it a > day.... > > Please point me to some documents or information if what I just asked have > been written about. > > Thank you so much. > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/df2286fc-d02c-4f21-b82c-a16170cca5d4%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Greg DeKoenigsberg Ansible Community Guy -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAM1FbhHP0Y0TLijDRFibcMaq9mTQygu4EiGSfLk1kFGYHm5d%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
