Merge pull request #5606 from yousong/bugfix/yousong-lbagent-systemd

region: lbagent: move systemd service unit file to system dir
This commit is contained in:
Zexi Li
2020-03-28 10:29:10 +08:00
committed by GitHub
2 changed files with 0 additions and 8 deletions
@@ -195,14 +195,6 @@ func (lbagent *SLoadbalancerAgent) deploy(ctx context.Context, userCred mcclient
}
pb.Modules = append(pb.Modules,
ansible.Module{
Name: "copy",
Args: []string{
"remote_src=yes",
"src=/opt/yunion/share/lbagent/yunion-lbagent.service",
"dest=/etc/systemd/system/yunion-lbagent.service",
},
},
ansible.Module{
Name: "systemd",
Args: []string{