# querry about ansible inventory

**URL:** <https://forum.ansible.com/t/querry-about-ansible-inventory/36003>\
**Category:** Ansible Project\
**Created:** [November 17, 2021, 5:59pm UTC](https://forum.ansible.com/t/querry-about-ansible-inventory/36003 "2021-11-17T17:59:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanna3k6](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kanna3k6/32/11075_2.png) [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Post date:** [November 17, 2021, 5:59pm UTC](https://forum.ansible.com/t/querry-about-ansible-inventory/36003/1 "2021-11-17T17:59:49Z")

</div>

Hi Team,

how to create customized inventory [/etc/ansible/hosts] in such away it should ping both the fqdn and also with the server ip

ansible -m ping SERVER IP and also ansible -m ping FQDN
