Hacker News new | ask | show | jobs
by dnautics 2038 days ago
of course, but debugging ansible YAML is exceptionally hard on account of the difficulty of decoding its quasi-declarative, quasi-imperative nature, the difficulty of knowing what the variables to be interpolated are (they could have been changed by other playbooks!), etc. You'll want at the very least a sane set of debug tools to figure things out when they go wrong.

The other alternative is to just give up and rewrite the ansible script, which has been what I had to do on several occasions.