# The TRANSFORM\_INVALID\_GROUP\_CHARS settings Warning after upgrade to 2.8.x

**URL:** <https://forum.ansible.com/t/the-transform-invalid-group-chars-settings-warning-after-upgrade-to-2-8-x/31910>\
**Category:** Ansible Project\
**Created:** [January 6, 2020, 2:15pm UTC](https://forum.ansible.com/t/the-transform-invalid-group-chars-settings-warning-after-upgrade-to-2-8-x/31910 "2020-01-06T14:15:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arbab\_Nazar1](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@Arbab\_Nazar1](https://forum.ansible.com/u/Arbab_Nazar1)\
**Post date:** [January 6, 2020, 2:15pm UTC](https://forum.ansible.com/t/the-transform-invalid-group-chars-settings-warning-after-upgrade-to-2-8-x/31910/1 "2020-01-06T14:15:08Z")

</div>

I am using ec2 dynamic inventory to get the ip address of my ec2 instance, it was working fine until 2.7.x but once I have updated to 2.8.x, start getting this Warning:

`[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by default, this will change, but still be user configurable on deprecation. This feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.`

I know it’s warning, but still want to know the reason, I could find the info about it much.

btw, my ansible command look like this:

```auto

ansible-playbook -i ../inventory/ec2.py --limit tag_Name_dev-test-utils deploy.yml

```

```auto

```

```auto
so name tag of my ec2 instance(s) are: dev-test-utils

```

```auto

```

```auto

```

```auto
Can somebody point me that what should I change to avoid this warning.

```

```auto

```

```auto
Thanks,

```

```auto

```

```auto

```

```auto

```

---

<div class="post-metadata">

**Author:** ![Ashish\_B](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@Ashish\_B](https://forum.ansible.com/u/Ashish_B)\
**Post date:** [January 6, 2020, 3:28pm UTC](https://forum.ansible.com/t/the-transform-invalid-group-chars-settings-warning-after-upgrade-to-2-8-x/31910/2 "2020-01-06T15:28:09Z")

</div>

**Set the option “deprecation\_warnings=False” in “ansible.cfg”**

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [January 6, 2020, 3:29pm UTC](https://forum.ansible.com/t/the-transform-invalid-group-chars-settings-warning-after-upgrade-to-2-8-x/31910/3 "2020-01-06T15:29:40Z")

</div>

Info in the description  
[https://docs.ansible.com/ansible/latest/reference\_appendices/config.html#transform-invalid-group-chars](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#transform-invalid-group-chars)
