Need to Input Host information while run time in Ansible-playbook

Hi Team,
Is there any ways to provide mulitple hosts value input while ansible-playbook runitme? I dont wish to provide the host value in static inventory , instead the hosts information should be fetched while runtime…is there any ways to do that.

Thanks in advance.

Hi Team,
Is there any ways to provide mulitple hosts value input while ansible-playbook runitme? I dont wish to provide the host value in static inventory , instead the hosts information should be fetched while runtime.....is there any ways to do that.

Thanks in advance.

Hello,

what about dynamic inventories? https://docs.ansible.com/ansible/latest/user_guide/intro_dynamic_inventory.html.

Regards
         Racke