notthebee / ansible-easy-vpn

An Ansible playbook that sets up a Wireguard server with ad blocking, DNS-over-HTTPS, and a WebUI with 2FA
Other
1.09k stars 262 forks source link

ERROR! We were unable to read either as JSON nor YAML..... #274

Open mellow65 opened 10 months ago

mellow65 commented 10 months ago

Describe the issue Script runs just fine till just after asking if you want to run the playbook. it asks for the vault password. Then gives an error. I've tried it on 20.04, 22.04, Debian 11 and 12. Never can get past the playbook section.

I've looked in the secret.yml file, there is nothing at line 1, column 36, so i'm not sure what it's looking for.

Any information from people smarter than me would be rad!

Logs (if applicable) Paste any relevant error messages here:

ERROR! 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. did not find expected key

The error appears to be in '/root/ansible-easy-vpn/secret.yml': line 1, column 36, but may be elsewhere in the file depending on the exact syntax problem.

Screenshot 2024-01-25 132633

Environment: