Exemplo n.º 1
0
 def read_file(self, filename):
     """ 读文件内容 """
     file_path = File.get_join_path(settings.ANSIBLE_SCRIPT_PATH, filename)
     return File.read_file(file_path)