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"