Closed jabl closed 6 years ago
Happens also when trying to run a playbook, e.g.
# ansible-playbook admin.yml
[WARNING]: Found both group and host with same name: grid
ERROR! role definitions must contain a role name
The error appears to have been in '/root/fgci/fgci-ansible/admin.yml': line 14, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- { role: watermark-release, tags: [ 'always' ] }
^ here
Ok, found it. You have a some weird non-space whitespace character (hooray for unicode?) between the "{" and "role: waterblahblah".
Ahah, so the hex code is "c2 a0" which is the utf-8 encoding of "non-breaking space" vs. a normal space which has the utf-8 encoded hex value "20".
On 2017-11-06 14:08, Janne Blomqvist wrote:
Ahah, so the hex code is "c2 a0" which is the utf-8 encoding of "non-breaking space" vs. a normal space which has the utf-8 encoded hex value "20".
Fixing !
You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CSCfi/fgci-ansible/issues/207#issuecomment-342130064, or mute the thread https://github.com/notifications/unsubscribe-auth/AKKJ6l75QFlsN4jbuxWFAwqPL_VuhHMJks5szvbBgaJpZM4QTHho.
-- Ulf Tigerstedt || Senior systems specialist CSC Oy || NeIC NT1 / NDGF GSM +358503818558 Johannesbergsvägen 17 || Närpes || Finland
Fixed by two commits to devel a few seconds ago.
Doing a "git pull" followed by "bash tools/pullReqs.sh" results in