Git Product home page Git Product logo

ansible-role-weblogic's Introduction

weblogic

License Build Status Build Status Galaxy Ansible Ansible

Summary


This role installs Oracle WebLogic Server on Linux platforms which allows to build and deploy enterprise Java EE applications.

Requirements

  • 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

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

Role Variables

  • transport - artifact source transport available:

    • web - fetch artifact from custom web uri
    • local - 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

Set WebLogic version as it's defined in official Oracle Documentation

  • wls_path - where WebLogic should be installed default: /opt/weblogic

Parameters for creating Node Manager

To install Node Manager
node_manager:
  install: True
  port: "5556"
  service: "wls-nodemanager"
To skip Node Manager installation
node_manager:
  install: False

Parameters for creating WebLogic domain

To install WebLogic Domain with Development mode without SSL
domain:
  create: True
  name: "base_domain"
  server: "AdminServer"
  service: "wls-admin-server"
  user: "weblogic"
  password: "welcome0"
  port: "7001"
  start_mode: "dev"
  ssl: False
To install WebLogic Domain with Development mode with SSL
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"
To skip Domain installation
domain:
  create: False

Parameters for WebLogic versions starting from 12.1.2

  • 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

Swap configuration
  • swapfile_path - path to swap file default: /swapfile

  • swapfile_bs_size_mb default: 1

  • swapfile_count - swap size default: 514

Example Playbook

Installing WebLogic 12.2.1.3.0 from local:

- 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"

Installing WebLogic 10.3.6 with SSL from web:

- 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"

License

Apache License 2.0

Authors

Lean Delivery team

ansible-role-weblogic's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.