Here is the inventory file
--- [de-servers] 192.26.32.32 [uk-servers] 172.21.1.23 172.32.2.11
and my playbook is look like this:
Easy way, edit /etc/ansible/hosts:
[my_server] ssdnodes:54321
and you can test it by issuing a ping:
ansible ssdnodes -m ping
and the response would be:
ssdnodes | SUCCESS => { "changed": false, "ping": "pong" }