Skip to content

Conversation

@bootswithdefer
Copy link

Cluster names can contain invalid characters (according to Ansible standards for group names) and when the Ansible setting TRANSFORM_INVALID_GROUP_CHARS is set to "always" the inventory script will throw exceptions and fail. The add_group method will return the sanitized name, so this will fix the error. It should cause no change in behavior when TRANSFORM_INVALID_GROUP_CHARS is set to the default of "never".

https://docs.ansible.com/ansible/latest/reference_appendices/config.html#transform-invalid-group-chars

Supercedes #464

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant