diff --git a/deploy/ansible.yml b/deploy/ansible.yml index 1bbd6dbef..e74b0f47d 100644 --- a/deploy/ansible.yml +++ b/deploy/ansible.yml @@ -26,5 +26,13 @@ owner: ubuntu group: ubuntu mode: 0555 + - name: copy swagger files to dest + copy: + src: ../swagger + dest: /jxdata/jx-callback/ + owner: ubuntu + group: ubuntu + mode: 0555 + - name: shell shell: cd /jxdata/jx-callback/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback