Hacker News new | past | comments | ask | show | jobs | submit login
Introducing Ansible Container (ansible.com)
35 points by gergnz on June 14, 2017 | hide | past | favorite | 3 comments



It does have some appeal to use playbooks I have lying around anyway to build containers.

But I also notice that in an immutable world, where containers are built once and new builds are started from scratch, the main appeal of Ansible (and other configuration management tools) is in their idempotence, which has literally no value when you build everything from scratch every time.

If you provision a cluster of servers and expect that they will be updated regularly (like updating the installed version of openssl) it makes sense to use something like Ansible to make the results predictable.

But when you are building containers, a simple shell script will also have the same result every time.


But didn't you hear? You've been struggling with Bash scripts and learning Ansible is way easier!

> Ansible Container represents an end to the command && command && command (and so on) syntax you’ve been struggling with to build containers.


I wish there was more of an investment in Ansible Galaxy. Being able to get software installed & running in a default state without a lot of effort is super helpful, particularly for systems that have complicated installation procedures.

I sort of wish they could make some sort of installer system around Ansible and convince developers to use it.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: