Update pre.yml

This commit is contained in:
qiaofeng1227 2022-08-01 14:55:50 +08:00 committed by GitHub
parent e01ed85a19
commit fef41fab28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,4 +77,15 @@
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 /tmp/tmp.yml > {{installpath}}/{{appname}}/docker-compose.yml
- name: Copy login.exp file
copy:
src: login.exp
dest: /tmp/login.exp
- name: Pull the image of enterprise
shell: |
expect /tmp/login.exp
docker pull container-registry.oracle.com/database/enterprise:"{{oracle_version}}"
rm -f /tmp/login.exp
when: oracle_edition == "enterprise"