修改了ansible.yml文件shell搅拌

This commit is contained in:
邹宗楠
2022-07-27 16:43:49 +08:00
parent b7e26a3843
commit 660c30602c
2 changed files with 10 additions and 19 deletions

View File

@@ -40,4 +40,4 @@
- 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 != "print"