-
Notifications
You must be signed in to change notification settings - Fork 321
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
Terraform inventory groups contain invalid characters. #120
Comments
A workaround:
|
Problematic code is here: Lines 167 to 168 in 94a66e3
But I'm not sure if changing the |
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.
Tentative PR available here: #128 |
I have published a new "dev" release from my fork: It includes PR #128. This issue is fixed at least for me. |
Hi,
which I've generalised as
|
Terraform Inventory seems to create groups with '.' characters in the groups. This delimiter in turn generates warnings from Ansible because they are invalid characters and produces a warning.
[WARNING]: Invalid characters were found in group names but not replaced
This is an example shell output when I provision with Ansible in Terraform.
The text was updated successfully, but these errors were encountered: