mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 23:50:31 +00:00
Update pre.yml
This commit is contained in:
parent
9756d1ad17
commit
e20cb1db05
1 changed files with 6 additions and 17 deletions
|
@ -19,8 +19,8 @@
|
||||||
- pause:
|
- pause:
|
||||||
prompt: |
|
prompt: |
|
||||||
Choice Oracle version:
|
Choice Oracle version:
|
||||||
0: Oracle 21.3.0
|
0: Oracle 21
|
||||||
1: Oracle 18.4.0
|
1: Oracle 18
|
||||||
private: no
|
private: no
|
||||||
Default:0
|
Default:0
|
||||||
register: oracle_version_options
|
register: oracle_version_options
|
||||||
|
@ -48,9 +48,9 @@
|
||||||
- pause:
|
- pause:
|
||||||
prompt: |
|
prompt: |
|
||||||
Choice Oracle version:
|
Choice Oracle version:
|
||||||
0: Oracle 21.3.0.0
|
0: Oracle 21
|
||||||
1: Oracle 19.3.0.0
|
1: Oracle 19
|
||||||
2: Oracle 12.2.0.1
|
2: Oracle 12
|
||||||
private: no
|
private: no
|
||||||
Default:0
|
Default:0
|
||||||
register: oracle_version_options
|
register: oracle_version_options
|
||||||
|
@ -72,16 +72,5 @@
|
||||||
sed -i 's/APP_VERSION=.*/APP_VERSION={{oracle_version}}/g' {{installpath}}/{{appname}}/.env
|
sed -i 's/APP_VERSION=.*/APP_VERSION={{oracle_version}}/g' {{installpath}}/{{appname}}/.env
|
||||||
yq eval 'del(.services.oracle.profiles)' docker-compose.yml > tmp.yml
|
yq eval 'del(.services.oracle.profiles)' docker-compose.yml > tmp.yml
|
||||||
cat tmp.yml > docker-compose.yml
|
cat tmp.yml > docker-compose.yml
|
||||||
rm -f tmp.yml
|
rm -f tmp.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"
|
when: oracle_edition == "enterprise"
|
||||||
|
|
Loading…
Reference in a new issue