External Inventory Temporaly

Hello,

I’m trying to fill my haproxy getting dinamically the servers from elastichosts.com. I’ve made a python script using their API to get the server_name and server_ip.
But I’m unable to use the add_host module.

My test playbook.