Hacker News new | ask | show | jobs
by vrighter 433 days ago
python (as much as I personally dislike the language itself) has clean syntax for sets, dicts and arrays. Which are the data structures you use in a playbook. Ansible as python instead of yaml can be made to look very similar to current playbooks. But saner. And easier to script.
1 comments

Oh, sorry I misunderstood, then. So, closer to the troposphere version of using python to generate json to feed into ansible?
ansible is already written in python. Just eliminate the json/yaml and let us use it from python directly.