'Reads the settings from the .ini file.'

def read_settings(self):

    config = ConfigParser.SafeConfigParser()
    config.read((os.path.dirname(os.path.realpath(__file__)) + '/linode.ini'))
    cache_path = config.get('linode', 'cache_path')
    self.cache_path_cache = (cache_path + '/ansible-linode.cache')
    self.cache_path_index = (cache_path + '/ansible-linode.index')
    self.cache_max_age = config.getint('linode', 'cache_max_age')
    self.use_public_ip = config.getboolean('linode', 'use_public_ip')
