redhat-developer-demos / openshift-hybridizer

All in One Openshift Cluster Hybrid Cloud Provisioner
Apache License 2.0
13 stars 9 forks source link

Ansible Syntax Error when attempting to run provision.sh #7

Closed DonSchenck closed 6 years ago

DonSchenck commented 6 years ago
➜  openshift-hybridizer git:(master) ./provision.sh 
Not loading passwords
Not loading environment vars
Not loading ssh key
ERROR! Syntax Error while loading YAML.
  mapping values are not allowed in this context

The error appears to have been in '/runner/env/extravars': line 3, column 15, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

+++---
ansible_become: no
              ^ here
DonSchenck commented 6 years ago

For some reason -- did I do it? -- the very first line in my file was

+++---

Changed it to --- and it fixed this error.

DonSchenck commented 6 years ago

My error; code is fine as-is.