ansible / community

This repository is being archived. See https://github.com/ansible-community/presentations and https://github.com/ansible-community/meetings for the new locations
Apache License 2.0
489 stars 144 forks source link

Error reading config file (/etc/ansible/ansible.cfg): File contains parsing errors: <???> #627

Closed thegaintserver closed 3 years ago

thegaintserver commented 3 years ago

ansible is my user on server, when I'm running the below command then I'm getting this error [ansible@ip-172-31-**-* ~]$ ansible demo --list-hosts**

Error reading config file (/etc/ansible/ansible.cfg): File contains parsing errors: <???> [line 14]: u' inventory = /etc/ansible/hosts\n' [line 22]: u' sudo_user = root\n'

Can anybody ansible user help me on this?

felixfontein commented 3 years ago

Please read the issue template before posting here:

This repository is for management of all Ansible community related initiatives, such as meetings.

Ansible Support