root@ansible01:/etc/ansible# ansible-playbook test.yml ERROR! Syntax Error while loading YAML. did not find expected '-' indicator The error appears to be in '/etc/ansible/test.yml': line 15, column 6, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: mask_length: 24 - name: "Add a new host object" ^ here