ansible reference a different host file code example
Example: ansible choose host file
# Default host file
/etc/ansible/hosts
# Choose different host file
-i <path>
# Default host file
/etc/ansible/hosts
# Choose different host file
-i <path>