title: Ansible syntax best practice, YAML dictionary (key: value) or equal sign (key=value)?
body: <p>I'm used to see Ansible examples as:</p>
  
  <pre><code>- file: path=/tmp/file state=touch
  </code></pre>
  
  <p>but someone at work told me that I should be consistent using only YAML syntax like this:</p>
  
  <pre><code>- file:
      path: /tmp/file
      state: touch
  </code></pre>
  
  <p>or,</p>
  
  <pre><code>- file: {path: /tmp/file, state:touch}
  </code></pre>
  
  <p>Which one satisfies Ansible best practices?</p>