forem / selfhost

Selfhost your Forem Community on your own infrastructure 🎉
https://www.forem.com/get-started/
GNU Affero General Public License v3.0
1.44k stars 172 forks source link

Failed to parse /var/home/core/selfhost/inventory/forem/setup.yml #14

Closed devops-school closed 3 years ago

devops-school commented 3 years ago

`$ ansible-playbook -i inventory/forem/setup.yml playbooks/providers/aws.yml [WARNING]: Failed to parse /var/home/core/selfhost/inventory/forem/setup.yml with ini plugin: Invalid host pattern '---' supplied, '---' is normally a sign this is a YAML file. [WARNING]: Failed to parse /var/home/core/selfhost/inventory/forem/setup.yml with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: Expecting value: line 1 column 1 (char 0) Syntax Error while loading YAML. could not find expected ':' The error appears to be in '/var/home/core/selfhost/inventory/forem/setup.yml': line 85, column 11, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: $ANSIBLE_VAULT;1.1;AES256 62376137383864393461613561353234643230666431643935303533346631393537363564366334 ^ here [WARNING]: Unable to parse /var/home/core/selfhost/inventory/forem/setup.yml as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [Deploy Forem to AWS] ***** skipping: no hosts matched

PLAY RECAP *****

[core@ip-172-31-9-59 selfhost]$ `

cotocusin commented 3 years ago

This is Solved.

Solution was Space issues in Token

image

roytmanpiccoli commented 2 years ago

@cotocusin Greate I have this issue, simple space :D lol, Thanks