Update pre.yml
This commit is contained in:
parent
6668fa142e
commit
00446c97ab
1 changed files with 0 additions and 27 deletions
|
@ -41,32 +41,6 @@
|
|||
sed -i 's/APP_VERSION=.*/APP_VERSION={{oracle_version}}/g' {{installpath}}/{{appname}}/.env
|
||||
when: oracle_edition == "express"
|
||||
|
||||
- block:
|
||||
- pause:
|
||||
prompt: |
|
||||
Choice Oracle version:
|
||||
0: Oracle 21.3.0
|
||||
1: Oracle 18.4.0
|
||||
private: no
|
||||
Default:0
|
||||
register: oracle_version_options
|
||||
|
||||
- set_fact:
|
||||
oracle_version_meta:
|
||||
"0": "21.3.0-xe"
|
||||
"1": "18.4.0-xe"
|
||||
|
||||
- set_fact:
|
||||
oracle_version: "{{oracle_version_meta[oracle_version_options.user_input]}}"
|
||||
|
||||
- debug:
|
||||
msg: "oracle_version is {{oracle_version}}"
|
||||
|
||||
- name: Config .env for start containers
|
||||
shell: |
|
||||
sed -i 's/APP_VERSION=.*/APP_VERSION={{oracle_version}}/g' {{installpath}}/{{appname}}/.env
|
||||
when: oracle_edition == "express"
|
||||
|
||||
- block:
|
||||
- pause:
|
||||
prompt: |
|
||||
|
@ -97,5 +71,4 @@
|
|||
- name: Pull the image of enterprise
|
||||
shell: |
|
||||
docker pull container-registry.oracle.com/database/enterprise:"{{oracle_version}}"
|
||||
|
||||
when: oracle_edition == "enterprise"
|
||||
|
|
Loading…
Add table
Reference in a new issue