From d807f7f51cbd238979ec1be3fe1c8e2a2b6c2f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Sat, 10 Oct 2020 15:31:37 +0800 Subject: [PATCH] jxteam --- deploy/ansible.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/deploy/ansible.yml b/deploy/ansible.yml index f9b033a69..f04a91bb7 100644 --- a/deploy/ansible.yml +++ b/deploy/ansible.yml @@ -36,8 +36,3 @@ - name: shell shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback - when: runmode == "prod" - - - 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 != "prod"