region: lbagent: move systemd service unit file to system dir

This commit is contained in:
Yousong Zhou
2020-03-27 15:30:42 +08:00
parent 39b5dadab4
commit 5c2b91b9fa
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{