Update pre.yml

This commit is contained in:
qiaofeng1227 2022-11-08 08:58:32 +08:00 committed by GitHub
parent b2d0774177
commit 94c6bec47b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,9 +17,3 @@
- debug:
msg: "baota_version is {{baota_version}}"
- name: Config .env and docker-compose for start
shell: |
cat {{installpath}}/{{appname}}/docker-compose.yml |yq eval 'del(.services.{{baota_version}}.profiles)' > /tmp/tmp.yml
cat /tmp/tmp.yml > {{installpath}}/{{appname}}/docker-compose.yml
rm -f /tmp/tmp.yml