Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the creation of groups with invalid characters (fixes #120) #128

Merged

Conversation

obilodeau
Copy link
Contributor

Starting with Ansible 2.8 dots (.) are no longer allowed in ansible groups: https://docs.ansible.com/ansible/latest/reference_appendices/config.html#transform-invalid-group-chars.

This patch fixes that problem by renaming host counts to use _<count> instead of .<count>.

Tests were fixed (and passes) but fixtures/ were left untouched.

Starting with Ansible 2.8 dots (.) are no longer allowed in ansible groups: https://docs.ansible.com/ansible/latest/reference_appendices/config.html#transform-invalid-group-chars.

This patch fixes that problem by renaming host counts to use `_<count>` instead of `.<count>`.

Tests were fixed (and passes) but fixtures/ were left untouched.
@adammck
Copy link
Owner

adammck commented Oct 1, 2019

Hrm, this is going to break some people's playbooks. I suppose it can't be avoided, though, so we'll just have to mention it in the release notes. It's not hard to update a playbook, so not worth putting it behind a flag. Thanks very much for fixing this!

@adammck adammck merged commit a408e89 into adammck:master Oct 1, 2019
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.

2 participants