增加集群服务器ha配置;更新pyinstaller打包后找不到依赖库的bug.
This commit is contained in:
@@ -14,3 +14,14 @@
|
||||
src: "{{role_path}}/templates/application.properties.j2"
|
||||
dest: /home/tsgroot/opt/tsg/cli/application.properties
|
||||
tags: template
|
||||
|
||||
- name: "copy oam_cli.service to destination server"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/oam_cli.service"
|
||||
dest: /usr/lib/systemd/system/oam_cli.service
|
||||
|
||||
- name: "restart oam_cli service"
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
name: oam_cli
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user