Playbooks are sensitive to copy paste that can alter spacing and indentation. Also EOL and tab characters. This could also be related to special characters. {, }, [, ], ,, &, :, *, #, ?, |. -, <. >, =, !, %, @, \. There are online validators for yaml files that may help you identify the issue if EMS does not reveal the issue.