fgci-org / fgci-ansible

:microscope: Collection of the Finnish Grid and Cloud Infrastructure Ansible playbooks
MIT License
54 stars 18 forks source link

remove some tabs and white spaces #210

Closed martbhell closed 6 years ago

martbhell commented 6 years ago

ansible-inventory doesn't like these tabs in weird places (end of strings and list names??).

Ansible 2.4.2.0.

$ ansible-inventory -i examples/hosts-example --list
ERROR! Syntax Error while loading YAML.

The error appears to have been in 'fgci-ansible/examples/group_vars/all/root_keys.yml': line 1, column 4, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
   ^ here
There appears to be a tab character at the start of the line.

YAML does not use tabs for formatting. Tabs should be replaced with spaces.
tiggi commented 6 years ago

Grepping I can find plenty others too. I'll give it a spin.

martbhell commented 6 years ago

Nice! I also tried a grep

grep -Pr "\xc2\xa0" .
but it didn't find anything. I think this is now good enough for now :)