部署时,不再备份可执行文件
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
owner: ubuntu
|
owner: ubuntu
|
||||||
group: ubuntu
|
group: ubuntu
|
||||||
mode: 0777
|
mode: 0777
|
||||||
- name: cleanup previous backup files
|
# - name: cleanup previous backup files
|
||||||
shell: cd {{ deploy_dir }} && ./cleanup.sh
|
# shell: cd {{ deploy_dir }} && ./cleanup.sh
|
||||||
- name: copy execute file to dest
|
- name: copy execute file to dest
|
||||||
copy:
|
copy:
|
||||||
src: ../jx-callback
|
src: ../jx-callback
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
owner: ubuntu
|
owner: ubuntu
|
||||||
group: ubuntu
|
group: ubuntu
|
||||||
mode: 0755
|
mode: 0755
|
||||||
backup: yes
|
backup: no
|
||||||
- name: copy conf file to dest
|
- name: copy conf file to dest
|
||||||
copy:
|
copy:
|
||||||
src: ../conf/
|
src: ../conf/
|
||||||
|
|||||||
Reference in New Issue
Block a user