diff --git a/deploy/ansible.yml b/deploy/ansible.yml index 6384fe745..e3681b13b 100644 --- a/deploy/ansible.yml +++ b/deploy/ansible.yml @@ -35,7 +35,7 @@ mode: 0555 - name: shell - shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback-{{ runmode }} + shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback when: runmode == "api" - name: shell