From 5b18d663754faf42d765c1c4ec611ebb6765f1a5 Mon Sep 17 00:00:00 2001 From: pengln Date: Wed, 22 Dec 2021 09:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=8C=E6=AD=A5=E6=B8=B2?= =?UTF-8?q?=E6=9F=93monitor=E8=84=9A=E6=9C=AC=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/deploy.yml b/playbooks/deploy.yml index 0cb8842..3f56bc5 100644 --- a/playbooks/deploy.yml +++ b/playbooks/deploy.yml @@ -8,5 +8,8 @@ vars: log_type: "{{ item }}" with_items: "{{ deploy_logs }}" + + - name: Update Alerts Script With Cron + ansible.builtin.shell: "svn up /data/ops/script/monitor.sh; chmod 755 /data/ops/script/monitor.sh"