title: Ansible yaml syntax failure
body: <p>I have a yaml file for ansible </p>
  
  <pre><code>  # role: common
    # # common tasks
    # ---
      # #
    # # create default mariadb Audit db users
    # #
   -name: common | setup impactGroup group
   group: name=group system=no gid=510
   ignore_errors: yes
  ~ 
  </code></pre>
  
  <p>I also have the proper server list s defined in the inventory file </p>
  
  <p>when i execute the ansible-playbook command i get the following error</p>
  
  <pre><code>  /usr/bin/ansible-playbook -D /tmp/eabinay/test.yml -i /tmp/eabinay/dbServerInventory
    ERROR: parse error: playbooks must be formatted as a YAML list, got &lt;type 'dict'&gt;
  </code></pre>