News for hackers. Stuff that matters.
Re:Why is Kubernetes getting so popular? by james-mcelwain on Friday May 29, 2020 @04:51PM (#23355381)
Even though Ansible is declarative in spirit, in practice I feel like a lot of playbooks just read like imperative code.
Re:Why is Kubernetes getting so popular? by fastball on Friday May 29, 2020 @04:57PM (#23355460)
I use Ansible for managing my infra, and the only time my playbooks look imperative is when I execute a shell script or similar, which is about 5% of total commands in my playbooks.
Re:Why is Kubernetes getting so popular? by takeda on Friday May 29, 2020 @06:36PM (#23356392)
One way to test if your playbook is declarative is try to rearrange the states and have them in different order. If the playbook breaks with different order it is imperative.