Update pre.yml
This commit is contained in:
parent
e01ed85a19
commit
fef41fab28
1 changed files with 11 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue