cache_path is used to calculate cache_dir , the script doesn't actually read cache_dir from this file. This makes the setting work (otherwise it always uses the default).
Add a new dynamic vmware inventory script backed by pyvmomi