This commit is contained in:
pengtao 2021-06-15 17:49:12 +08:00
parent 875a903f0e
commit b03f743b6d

View File

@ -63,7 +63,8 @@ class DeployGit:
def _deploy_remote(self):
for line in self.infos:
if line:
hosts, paths, user, _, _, start_script = line
pdb.set_trace()
_,hosts, paths, user, _, _, start_script = line
hosts = hosts.split(',')
hostfile = self.write_host(hosts)
an = AnsibleAPI(hostfile)