Live data from Hacker News

Ansible 4.0

groups.google.com

11–20 of 141 posts

Re: Ansible 4.0

#11

Pretty cool but Ansible just seems too slow to me. I'm just comparing this against like native scripting, Terraform, etc. I guess Ansible is still the best option for configuration management, but I keep hoping someone will come out with a new tool, preferably built with Go or Rust.

mgmt config is written in go and has a lot of interesting concepts.

Re: Ansible 4.0

#12
I know Ansible has a huge number of fans but I am genuinely curious about the future. That is, I've been trying to figure out where ansible fits in the bigger picture of the modern trend towards IaC. Is it in conflict with that because of its semi-imperative nature? Or is what it does an essential piece of how IaC needs to work to do declarative infrastructure management? I see that for example you can use ansible within terraform. Do people really do that and is it useful? Or is it something you would only do if you have a lot of legacy infrastructure already configured via Ansible.

Curious on the general take here.

Re: Ansible 4.0

#13
Ansible is under the GPLv3 but they say this doesn't apply to your .yml files because those are data, not code.

I think they're interpreted code. The yml has steps which aren't too different from statements.

If what the project creator says matters, the GPL has less legal meaning.

I personally think the GPLv3 does protect more than just compiled code, and that Ansible is off their rocker with the GPL.

Re: Ansible 4.0

#14
First of all, congratulations to the team of Ansible and these tools have benefited us in numerous ways that cannot be understated.

Having said that, this caught my eye:

> There may be backwards incompatibilities in the core playbook language. Please see the porting guide for details.

Doing incompatible changes is not something specific to Ansible, for example Puppet has also done it time and again. We've been using both Ansible and Puppet in my previous job, and we always found it mildly annoying that upgrading a system (Linux, FreeBSD) would, in addition to the other "usual" dangers, bring along the danger of the new version not having a package for the "old" version of Puppet or Ansible that we were using. Which would force us to divert attention to the automation tool's problems instead of using the automation tool to solve problems.

I do understand that nothing can stand still and everything must evolve and change, but at some point this acquires the flavour of changes for the sake of changes. Especially when regressions happen and things that were working perfectly are now breaking, it is not exactly pleasant to have to devote time to them.

It's not exactly clear how can Perl programs or shell scripts or Makefiles from 20 years ago play perfectly fine unchanged, but the syntax of a manifest or playbook that does a couple of simple operations cannot remain stable. It's not like those tools were created yesterday, in which case it would be reasonable to expect changes in their first years.

Re: Ansible 4.0

#15

Pretty cool but Ansible just seems too slow to me. I'm just comparing this against like native scripting, Terraform, etc. I guess Ansible is still the best option for configuration management, but I keep hoping someone will come out with a new tool, preferably built with Go or Rust.

salt has been great for me. SSH is just so slow compared to always on zeromq

Re: Ansible 4.0

#16

Ansible is under the GPLv3 but they say this doesn't apply to your .yml files because those are data, not code. I think they're interpreted code. The yml has steps which aren't too different from statements. If what the project creator says matters, the GPL has less legal meaning. I personally think the GPLv3 does protect more than just compiled code, and that Ansible is off their rocker with the GPL.

If it's interpreted and not compiled, then when would it matter? It never creates a derivative work that contains code from you and from ansible.

Edit: For that matter, ansible only runs on your own local machine. Without redistribution, the GPL doesn't really have teeth anyway.

Re: Ansible 4.0

#17

Pretty cool but Ansible just seems too slow to me. I'm just comparing this against like native scripting, Terraform, etc. I guess Ansible is still the best option for configuration management, but I keep hoping someone will come out with a new tool, preferably built with Go or Rust.

salt has been great for me. SSH is just so slow compared to always on zeromq

Maybe, but I feel safe exposing openssh to the open internet, which is more than I can say for salt.

Re: Ansible 4.0

#18
post #12

I know Ansible has a huge number of fans but I am genuinely curious about the future. That is, I've been trying to figure out where ansible fits in the bigger picture of the modern trend towards IaC. Is it in conflict with that because of its semi-imperative nature? Or is what it does an essential piece of how IaC needs to work to do declarative infrastructure management? I see that for example you can use ansible wi…

I’d say that a tool like Packer is heavily reliant upon Ansible to be useful so I don’t see Ansible going anywhere anytime soon. If there’s a better tool than Ansible out there to pair with Packer please let me know!
Post reply on HN