修复tsg_monitor_cleanup_tmp.sh文件, 在windows系统上传输过之后, 丢失了可执行权限BUG.

This commit is contained in:
lijia
2020-11-23 14:22:53 +08:00
parent e9c4747c57
commit ff6e4e8858
5 changed files with 10 additions and 5 deletions

View File

@@ -58,9 +58,10 @@
dest: "/etc/"
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
synchronize:
copy:
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
dest: "/opt/tsg/tsg-monitor/"
mode: 0755
- name: "restart rsyslog service"

View File

@@ -58,9 +58,10 @@
dest: "/etc/"
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
synchronize:
copy:
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
dest: "/opt/tsg/tsg-monitor/"
mode: 0755
- name: "restart rsyslog service"
systemd:

View File

@@ -58,9 +58,10 @@
dest: "/etc/"
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
synchronize:
copy:
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
dest: "/opt/tsg/tsg-monitor/"
mode: 0755
- name: "restart rsyslog service"
systemd:

View File

@@ -58,9 +58,10 @@
dest: "/etc/"
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
synchronize:
copy:
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
dest: "/opt/tsg/tsg-monitor/"
mode: 0755
- name: "restart rsyslog service"
systemd:

View File

@@ -97,9 +97,10 @@
dest: "/etc/"
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
synchronize:
copy:
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
dest: "/opt/tsg/tsg-monitor/"
mode: 0755
- name: "restart rsyslog service"
systemd: