Ansible -Inventardatei zum Adhoc -Befehl

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