some.unrelated.development.host
[rds]
some.production.host
some.staging.host
some.development.host
[production]
some.production.host
[staging]
some.staging.host
[development]
some.development.host
some.unrelated.development.host
How to get a hostname that contains a certain string from a group in Ansible