|
|
|
|
|
by kevincox
1844 days ago
|
|
> is that the ansible playbook will be idempotent This isn't really true. I think you are correct that most of the built-in operations are idempotent but you can also do this with a small library of functions in a shell/python script or whatever you prefer. Most things you want to do on provision are idempotent anyways (install this package, download this file) or are trivial to make so (create this directory). I would take a real programming language any day for the minor cost of having to handle idempotency myself. It would take a couple of hours to reimplement idempotent primitives to replace the Ansible standard library in just about any language. In my mind the main value of Ansible is playbooks that others have made for you, but many people avoid these anyways to have full control. |
|
I personally find Ansible's value lies in what it makes difficult.