webInventory = ansible.inventory.Inventory(hosts)
webPing = ansible.runner.Runner(pattern='webserver*', module_name='ping',
    inventory=webInventory).run()
How to run Ansible without specifying the inventory but the host directly?