forem / selfhost

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

Failed to parse /root/selfhost/inventory/forem/setup.yml with ini plugin #85

Closed miaw-miaw closed 1 year ago

miaw-miaw commented 1 year ago

Hello,

I need some help with the error bellow. I had no error till here following the installation instructions.

# ansible-playbook -i inventory/forem/setup.yml playbooks/providers/digitalocean.yml
[WARNING]:  * Failed to parse /root/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 /root/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
'/root/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
33363230656134663261373032636433383638363633383434626166333062326536373339376632           ^ here
[WARNING]: Unable to parse /root/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 DigitalOcean] *****************************************************************************
skipping: no hosts matched

PLAY RECAP ******************************************************************************************************