清除以前创建的配置文件

This commit is contained in:
pengtao 2019-10-14 13:52:48 +08:00
parent d5d1af4056
commit 585724060c

View File

@ -61,7 +61,7 @@ class Build_Gamelog_Config():
data = {'dest_paths': self.dest_paths, 'source': self.filename, 'dest_filename': self.dest_file}
resule = an.run_playbook('/data/git/dev_ops/ansible/playbook/publish_file2server.yml', **data)
if not (resule['failed'] or resule['unreachable']):
log.info(f"deploy success!")
log.info(f"deploy success! resule={resule}")
return True
else:
log.error(f"deploy failed info={resule}")