- copy swagger files.
This commit is contained in:
@@ -26,5 +26,13 @@
|
|||||||
owner: ubuntu
|
owner: ubuntu
|
||||||
group: ubuntu
|
group: ubuntu
|
||||||
mode: 0555
|
mode: 0555
|
||||||
|
- name: copy swagger files to dest
|
||||||
|
copy:
|
||||||
|
src: ../swagger
|
||||||
|
dest: /jxdata/jx-callback/
|
||||||
|
owner: ubuntu
|
||||||
|
group: ubuntu
|
||||||
|
mode: 0555
|
||||||
|
|
||||||
- name: shell
|
- name: shell
|
||||||
shell: cd /jxdata/jx-callback/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback
|
shell: cd /jxdata/jx-callback/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback
|
||||||
|
|||||||
Reference in New Issue
Block a user