4 ms·
Using Ansible is what made me lose faith in DSL's in all the ways mentioned (eventually wanted loops, conditions, variables and namespaces...). Ansible is an AP
by threatofrain 7y ago
Using Ansible is what made me lose faith in DSL's in all the ways mentioned (eventually wanted loops, conditions, variables and namespaces...). Ansible is an API over a domain and if it were originally just represented through a Python language library I don't see why it would be less accessible or productive. Even something as simple as YAML can be screwed up and turned complicated.
- alwillis 7y agoEven though I know how to program, I really like Ansible and probably wouldn’t have gotten into it if it had the same functionality but used Python instead of YAML.
- farisjarrah 7y agoBuilding infrastructure is complicated. Have you found an easier way then Ansible to accomplish building infrastructure? Ansible does make yaml more complicated, however, you don't need to use much of that complexity for simple projects. Compared to Terraform, Chef, Google Deployment Manager, and Windows Desired State Configuration, Ansible is by far the simplest to get up and running on to do real work with.
- erikpukinskis 7y agoAWS CDK would be an example of using a programming language rather than a DSL to build infra.
- ofrzeta 7y agoThere's also Pulumi that covers a wider range of infrastructure than AWS only.
- Middleclass 7y agoHave you tried SaltStack? It uses YAML too, but always felt much more cleanly composed, and smoothly integrates with scripting languages. I've never truly broken into orchestration and am still salty about that so please, take my post with a grain of salt. (Full disclosure: I have literally no professional affiliations whatsoever.)
- cryptonector 7y ago> Even something as simple as YAML can be screwed up and turned complicated. Your problem is that you think YAML is simple.