I am facing issue with managing inflluxdb on remote host using influxdb_database module.
name: Create database
influxdb_database:
hostname: localhost
database_name: miroslav
It is failing with following error:
“ImportError: No module named influxdb. Failed to import the required Python library (influxdb)”
When I run ansible on host where influxdb is running, it works fine. I suspect on bug in this module.
Does anyone have this module works when managing influxdb on remote host?
Thank you Luca, you were right. I was missing influxdb in targeted host. I was assuming all the time that dependency referred to host where ansible was running.
Thank you a lot once again!