code: def _remove_vars(self):
          
          for name in ("hosts", "group_vars", "host_vars"):
              d = os.path.join(self.inventory_directory, name)
              if os.path.islink(d) or os.path.isfile(d):
                  os.unlink(d)
              elif os.path.isdir(d):
                  shutil.rmtree(d)
docs: Remove hosts/host_vars/group_vars and returns None.
  
          :returns: None