- backup when copy files to remote to deploy.

This commit is contained in:
gazebo
2018-07-31 15:59:18 +08:00
parent c7f35cd6a3
commit 45970ca08b

View File

@@ -9,6 +9,7 @@
owner: ubuntu
group: ubuntu
mode: 0755
backup: yes
- name: copy conf file to dest
copy:
src: ../conf/app.conf
@@ -16,5 +17,6 @@
owner: ubuntu
group: ubuntu
mode: 0555
backup: yes
- name: shell
shell: cd /jxdata/jx-callback/conf && sed -i 's/runmode\s*=\s*.*/runmode = {{ runmode }}/' app.conf && sudo systemctl restart jx-callback