This commit is contained in:
邹宗楠
2022-08-01 15:18:29 +08:00
parent 2d3f85dbea
commit 6e8b14ab3b

View File

@@ -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"
when: runmode != "api"