脚本更新
This commit is contained in:
parent
96347ed68a
commit
4c4e00c507
@ -21,15 +21,15 @@
|
||||
- name: sh pack.sh
|
||||
shell: sh /data/devops/pack.sh
|
||||
delegate_to: localhost
|
||||
|
||||
- name: backup goleaf
|
||||
shell: mv "{{goleaf_dest}}"/main "{{goleaf_dest}}"/main.bak
|
||||
ignore_errors: yes
|
||||
- name: copy goleaf
|
||||
copy:
|
||||
src: "{{ goleaf_src }}"
|
||||
dest: "{{goleaf_dest}}"
|
||||
|
||||
- name: backup goleaf
|
||||
shell: mv "{{goleaf_dest}}"/main "{{goleaf_dest}}"/main.bak
|
||||
ignore_errors: yes
|
||||
|
||||
|
||||
- name: parse config
|
||||
shell: cd /data/docs && git pull && python3 /data/docs/tool/cfg/tool_cfg_json.py
|
||||
|
||||
Loading…
Reference in New Issue
Block a user