From 6e8b14ab3b1f5949a0ccf83b77459d49efda8bfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 1 Aug 2022 15:18:29 +0800 Subject: [PATCH] 1 --- deploy/ansible.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/ansible.yml b/deploy/ansible.yml index cb5fe84c4..e3681b13b 100644 --- a/deploy/ansible.yml +++ b/deploy/ansible.yml @@ -36,8 +36,8 @@ - name: shell shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback - when : runmode == "rsm" - + when: runmode == "api" + - name: shell shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback-{{ runmode }} - when: runmode != "rsm" \ No newline at end of file + when: runmode != "api" \ No newline at end of file