This role installs Oracle WebLogic Server on Linux platforms which allows to build and deploy enterprise Java EE applications.
- Minimal Version of the ansible for installation: 2.5
- Supported Weblogic versions:
- 10.x
- 12.1.x
- 12.2.1.x
- higher versions should be retested
- Supported OS:
- CentOS
- 6
- 7
- CentOS
For more information regarding support matrix please visit https://support.oracle.com
Java should be installed preliminarily:
- lean_delivery.java
For running "java -jar" opensource module javax
was used (https://github.com/tima/ansible-javax)
For test scenarios weblogic/requirements.yml is used
If another roles/versions are required, put requirements.yml to molecule/<scenario_name> and remove in molecule.yml lines
options:
role-file: requirements.yml
-
transport
- artifact source transport available:web
- fetch artifact from custom web urilocal
- local artifact
-
transport_web
- URI for http/https artifact e.g. "http://my-storage.example.com/V886423-01.zip" -
transport_local
- path for local artifact e.g. "/tmp/V886423-01.zip" -
download_path
- local folder for downloading artifacts default:/tmp
-
wls_user
- user for installing Oracle WebLogic default:weblogic
-
wls_group
- group for weblogic user default:weblogic
-
wls_version
- Oracle WebLogic version
wls_path
- where WebLogic should be installed default:/opt/weblogic
node_manager:
install: True
port: "5556"
service: "wls-nodemanager"
node_manager:
install: False
domain:
create: True
name: "base_domain"
server: "AdminServer"
service: "wls-admin-server"
user: "weblogic"
password: "welcome0"
port: "7001"
start_mode: "dev"
ssl: False
domain:
create: True
name: "base_domain"
server: "AdminServer"
service: "wls-admin-server"
user: "weblogic"
password: "welcome0"
port: "7001"
start_mode: "dev"
ssl: True
ssl_port: "7002"
domain:
create: False
-
install_type
- installation type, based on installation executor (jar) file available:WebLogic Server
Complete with Examples
Coherence
Fusion Middleware Infrastructure
Fusion Middleware Infrastructure With Examples
-
install_group
- install group for user default:oinstall
-
inventory_directory
- path to oracle inventory directory default:/opt/oraInventory
-
ora_inst
- path to oraInst.loc file default:/etc/oraInst.loc
-
swapfile_path
- path to swap file default:/swapfile
-
swapfile_bs_size_mb
default:1
-
swapfile_count
- swap size default:514
- name: "Install WebLogic 12.2.1.3.0 from local"
hosts: all
roles:
- role: lean_delivery.java
java_major_version: 8
java_minor_version: 181
- role: lean_delivery.weblogic
wls_version: "12.2.1.3.0"
transport: "local"
transport_local: "/tmp/V886423-01.zip"
install_type: "WebLogic Server"
- name: "Install WebLogic 10.3.6 with SSL from web"
hosts: all
roles:
- role: lean_delivery.java
java_major_version: 6
java_minor_version: 45
transport: "web"
transport_web: "http://my-storage.example.com/jdk-6u45-linux-x64.tar.gz"
- role: lean_delivery.weblogic
wls_version: "10.3.6"
transport: "web"
transport_web: "http://my-storage.example.com/V29852-01.zip"
domain:
create: True
name: "base_domain"
server: "AdminServer"
service: "wls-admin-server"
user: "weblogic"
password: "welcome0"
port: "7001"
start_mode: "dev"
ssl: True
ssl_port: "7002"