4 ms·
Saw him do a talk where he went from hello world to automating a bunch of LEDs in couple hours and easily followed along the whole way through. Ansible is so m
by ed-209 3y ago
Saw him do a talk where he went from hello world to automating a bunch of LEDs in couple hours and easily followed along the whole way through.
Ansible is so much more powerful than Terraform (IHMO, due to its pre-cloud roots). Too bad about lack of a "revert" feature/pattern and lack of multi-repo glue/scaffolding.
- ChrisRR 3y agoDo you have a link to that? I've done a quick google but I have zero server experience so don't know what you're referring to
- planetafro 3y agoI do understand your point but would counter that, if done right, you can revert your last commit. :)
- anyoneamous 3y agoSadly it's not that simple. For example: - Run a playbook which asserts the existence of a user - Playbook fails at a later stage - Executing an earlier version of the playbook which doesn't have the user assertion won't cause the user to be removed, just ignored. You need a different (assert not-existing) statement to actually remove the user. In general these things won't be impactful - but they do mean that if you iterate on your deployment playbooks, you will end up with orphaned files/resources scattered around unless you explicitly tidy them up. IME using Ansible for small-scale automation is no faster than just running the tasks manually, once development time is taken into account - you need tens of servers to make it worthwhile, by which point containers start to look more appealing.
- listenallyall 3y ago> IME using Ansible for small-scale automation is no faster than just running the tasks manually, once development time is taken into account You aren't wrong here but still the payoff is typically worth it, especially for small scale. "Development time" is one factor but the alternative -- building servers or infrastructure manually -- causes all kinds of problems when individual servers are not consistent.
- okeuro49 3y ago> IME using Ansible for small-scale automation is no faster than just running the tasks manually, once development time is taken into account - you need tens of servers to make it worthwhile, by which point containers start to look more appealing. Ansible has a very low learning curve. I cringe with the thought of the time it would take documenting then typing in all the commands to setup my servers manually. That's just not feasible. Ansible provides a sweet spot between traditional "pet" servers and containerisation. It's not only the number of servers that matters. It's also about being able to create ephemeral staging/developer environments, and easily being able to easily migrate to different VM providers.