修复tsg_monitor_cleanup_tmp.sh文件, 在windows系统上传输过之后, 丢失了可执行权限BUG.
This commit is contained in:
@@ -58,9 +58,10 @@
|
|||||||
dest: "/etc/"
|
dest: "/etc/"
|
||||||
|
|
||||||
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
||||||
synchronize:
|
copy:
|
||||||
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
||||||
dest: "/opt/tsg/tsg-monitor/"
|
dest: "/opt/tsg/tsg-monitor/"
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
|
|
||||||
- name: "restart rsyslog service"
|
- name: "restart rsyslog service"
|
||||||
|
|||||||
@@ -58,9 +58,10 @@
|
|||||||
dest: "/etc/"
|
dest: "/etc/"
|
||||||
|
|
||||||
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
||||||
synchronize:
|
copy:
|
||||||
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
||||||
dest: "/opt/tsg/tsg-monitor/"
|
dest: "/opt/tsg/tsg-monitor/"
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: "restart rsyslog service"
|
- name: "restart rsyslog service"
|
||||||
systemd:
|
systemd:
|
||||||
|
|||||||
@@ -58,9 +58,10 @@
|
|||||||
dest: "/etc/"
|
dest: "/etc/"
|
||||||
|
|
||||||
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
||||||
synchronize:
|
copy:
|
||||||
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
||||||
dest: "/opt/tsg/tsg-monitor/"
|
dest: "/opt/tsg/tsg-monitor/"
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: "restart rsyslog service"
|
- name: "restart rsyslog service"
|
||||||
systemd:
|
systemd:
|
||||||
|
|||||||
@@ -58,9 +58,10 @@
|
|||||||
dest: "/etc/"
|
dest: "/etc/"
|
||||||
|
|
||||||
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
||||||
synchronize:
|
copy:
|
||||||
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
||||||
dest: "/opt/tsg/tsg-monitor/"
|
dest: "/opt/tsg/tsg-monitor/"
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: "restart rsyslog service"
|
- name: "restart rsyslog service"
|
||||||
systemd:
|
systemd:
|
||||||
|
|||||||
@@ -97,9 +97,10 @@
|
|||||||
dest: "/etc/"
|
dest: "/etc/"
|
||||||
|
|
||||||
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
|
||||||
synchronize:
|
copy:
|
||||||
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
|
||||||
dest: "/opt/tsg/tsg-monitor/"
|
dest: "/opt/tsg/tsg-monitor/"
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: "restart rsyslog service"
|
- name: "restart rsyslog service"
|
||||||
systemd:
|
systemd:
|
||||||
|
|||||||
Reference in New Issue
Block a user