4 ms·
Why not simply call docker-compose through ansible and template the yml? I've had issues or a lack of features with ansible's docker support, but use it otherw
by RRRA 9y ago
Why not simply call docker-compose through ansible and template the yml?
I've had issues or a lack of features with ansible's docker support, but use it otherwise for pretty much everything.
I just don't see a point to moving to a wrapper than can never have all the latest support / options that upstream has.
- geerlingguy 9y agoI've done it both ways—both are valid approaches. The nice thing about using Ansible for all the management is consistency (especially in mixed container / not-container environments). The nice thing about templating a compose file is being able to track the latest Docker / Compose versions more easily.