Ansible's documentation indicates that inventory variables (in .yml files) are assigned with colons (":") and not equals ("=") signs. However in practice, equals ("=") signs are necessary for key-value assignments and colons (":") do not work. If you have found their documentation to be correct, please post a comment.