Troubleshooting - shapeblue/Trillian GitHub Wiki

ERROR! Syntax Error while loading YAML.

The error appears to have been in '/Users/bstoyanov/Trillian/Ansible/group_vars/xs62test': line 42, column 2, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

env_version: "{{ env_version }}" {% if env_version[0:2] == "cs" %} ^ here

Description:

That happens if there is any missing value when ansible generates the groupvars file for the environment.

Hints:

  • Check if all variables passed are consistent
  • Make sure all file and Trillian repo are all up to date