Closed ahaerpfer closed 8 years ago
After some testing … obviously not complete:
. / | # < > % & * ( ) + = @ $
, ; : [ ] [blank]
And from an IRC conversation:
you may want to restrict it to words/chars that don't make your jinja templates complicated periods are notoriously irritating
See also the code comments in: https://github.com/ansible/ansible/blob/devel/lib/ansible/inventory/__init__.py#L232
Inventory group names created from OMD hostgroup names must be sanitized w/ respect to illegal characters. Common practice is to translate any special characters that Ansible doesn't handle to underscores.