Ansible Pilih File Inventory ke ADHOC Command

# Use flag -i and the path to the inventory. 
ansible all -i=/etc/ansible/[your_inventory] -m ping
RicarHincapie