mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
region: lbagent: move systemd service unit file to system dir
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user