Monday, July 29, 2019

Syntax Error while loading YAML did not find expected key

When running YAML playbook in ansible, sometimes you may receive
ERROR! Syntax error while loading YAML. did not find expected key.
The error appears to be in '/etc/ansible/handler.yaml: line 10 column 4, but may be elsewhere in the file depending on the exact syntax problem.

As the error indicates, review the YAML file and pay special attention to the white spaces and spacing.

No comments:

Post a Comment