The foreman-docker container provisioning is not as richly featured as host
provisioning and it has me thinking what I would do differently.

For my case I needed to "docker run" the container and then "docker exec"
several commands, and finally curl against it to configure. What I ended up
doing, which worked beautifully, was to make an ansible role that
accomplished all this plus additional steps of modifying the atomic host
the container was running on. Magic!

I did run into some issues and limitations with foreman-ansible plugin (I
had to run ansible manually outside foreman) but overall ansible is the
tool for the job.

Looking at the ansible modules around docker it's clear that even if I had
a nice wizard, if that wizard ended up generating me a playbook that I
could further modify it would be awesome.

I have very little knowledge of puppet and provisioning but I feel that
wiring ansible into the container provisioning might be a very powerful
introduction to ansible for foreman users.

Is this a realistic idea?

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to