This commit is contained in:
苏尹岚
2020-10-14 09:36:28 +08:00
parent 0b36b4b81f
commit 6f848954d1

View File

@@ -37,6 +37,7 @@
- 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"
- 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"