Update pre.yml

This commit is contained in:
qiaofeng1227 2022-08-01 15:34:50 +08:00 committed by GitHub
parent 4b9fe56995
commit c62da18e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@
- name: Config .env and docker-compose for start containers
shell: |
sed -i 's/APP_VERSION=.*/APP_VERSION={{oracle_version}}/g' {{installpath}}/{{appname}}/.env
cat {{installpath}}/{{appname}}/docker-compose.yml |yq eval 'del(.services.oracleex.profiles)' > /tmp/tmp.yml
cat {{installpath}}/{{appname}}/docker-compose.yml |yq eval 'del(.services.oracle.profiles)' > /tmp/tmp.yml
cat /tmp/tmp.yml > {{installpath}}/{{appname}}/docker-compose.yml
- name: Copy login.exp file