With ansible 2.14.13 (currently in Debian unstable), I get the following:
wouter@pc220518:~/data/fosdem/infrastructure/ansible$ ansible-playbook -b -l reviewmaster.video.fosdem.org -i hosts playbooks/site.yml
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
[WARNING]: * Failed to parse /home/wouter/data/fosdem/infrastructure/ansible/hosts 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 2 (char 1) Syntax Error while loading YAML. did not find expected <document start>
The error appears to be in '/home/wouter/data/fosdem/infrastructure/ansible/hosts': line 2, column 1, but may be elsewhere in the file depending on the exact
syntax problem. The offending line appears to be: [event-primary] server001.sk1-510.k.ulb.bru.fosdem.net ansible_port=1973 ^ here
[WARNING]: * Failed to parse /home/wouter/data/fosdem/infrastructure/ansible/hosts with ini plugin:
/home/wouter/data/fosdem/infrastructure/ansible/hosts:183: Section [node_exporter:children] includes undefined group: review
[WARNING]: Unable to parse /home/wouter/data/fosdem/infrastructure/ansible/hosts 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'
... aaand then all the roles are skipped, obviously.
I'll run ansible inside a docker container for now, but we might want to fix this for future FOSDEMs
With ansible 2.14.13 (currently in Debian unstable), I get the following:
... aaand then all the roles are skipped, obviously.
I'll run ansible inside a docker container for now, but we might want to fix this for future FOSDEMs