修改deploy文本,添加宠物配置

This commit is contained in:
邹宗楠
2024-10-16 10:06:20 +08:00
parent 32cde499da
commit c099e1d4e4
2 changed files with 7 additions and 5 deletions

View File

@@ -40,4 +40,8 @@
- 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"
when: runmode == "jxgy"
- 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 == "jxpet"