This is:

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.

On Tuesday, May 1, 2018 at 5:07:09 PM UTC+5:30, Josef Fortier wrote:
>
> 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?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0bfc61f6-804f-46fe-918a-2307fb12c97c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to