Update pre.yml
This commit is contained in:
parent
9231b6a510
commit
54cecc1cdc
1 changed files with 8 additions and 2 deletions
|
@ -36,9 +36,12 @@
|
|||
- debug:
|
||||
msg: "oracle_version is {{oracle_version}}"
|
||||
|
||||
- name: Config .env for start containers
|
||||
- name: Config .env and docker-compose for start containers
|
||||
shell: |
|
||||
sed -i 's/APP_VERSION=.*/APP_VERSION={{oracle_version}}/g' {{installpath}}/{{appname}}/.env
|
||||
yq eval 'del(.services.oracleex.profiles)' docker-compose.yml > tmp.yml
|
||||
cat tmp.yml > docker-compose.yml
|
||||
rm -f tmp.yml
|
||||
when: oracle_edition == "express"
|
||||
|
||||
- block:
|
||||
|
@ -64,9 +67,12 @@
|
|||
- debug:
|
||||
msg: "oracle_version is {{oracle_version}}"
|
||||
|
||||
- name: Config .env for start containers
|
||||
- name: Config .env and docker-compose for start containers
|
||||
shell: |
|
||||
sed -i 's/APP_VERSION=.*/APP_VERSION={{oracle_version}}/g' {{installpath}}/{{appname}}/.env
|
||||
yq eval 'del(.services.oracle.profiles)' docker-compose.yml > tmp.yml
|
||||
cat tmp.yml > docker-compose.yml
|
||||
rm -f tmp.yml
|
||||
|
||||
- name: Copy login.exp file
|
||||
copy:
|
||||
|
|
Loading…
Add table
Reference in a new issue