'Get variables about a specific host'

def get_host_info(self):

    inventory = self.get_inventory()
    if (self.args.host in inventory['_meta']['hostvars']):
        return inventory['_meta']['hostvars'][self.args.host]
