This commit is contained in:
苏尹岚
2020-10-10 15:31:37 +08:00
parent 045d54844f
commit d807f7f51c

View File

@@ -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"