1
This commit is contained in:
@@ -36,8 +36,8 @@
|
|||||||
|
|
||||||
- name: shell
|
- name: shell
|
||||||
shell: cd {{ deploy_dir }}/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback
|
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
|
- 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-{{ runmode }}
|
||||||
when: runmode != "rsm"
|
when: runmode != "api"
|
||||||
Reference in New Issue
Block a user