I’m modifying an EOL vim ansible plugin for my own use and am wondering about indent style. In the Ansible Intro to Playbooks doc ( http://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html ) there are two separate styles on the same page:
At the start of the doc, each task item has it’s leading dash flush with the “task:” keyword indent.
But later on, in the “Basics” header there’s an alternate style, where each task item is indented a shift-width deeper then the “task:” keyword.
Both seem to work with python’s YAML parser.
The second example appears to be slightly more common. Is there a recommended style?
Is there a more common/consensus style?