Giter Site home page Giter Site logo

ansible-role-wls-rcu's Introduction

Role Name

Wrapper to create and drop RCU schemas

Requirements

This presumes the wlssoftware, wlsprep, and java roles have been run. At least an RCU executable is required and that is laid in with wlssoftware.

Role Variables

A list of component IDs to install.

rcu_components:
  - STB

Passwords for both the SYS and schema users:

rcu_sys_password: bad_sys_password
rcu_schema_password: terrible_schema_password

Create the repository. Drop works too.

rcu_action: createRepository

The prefix to create the schema as,

rcu_prefix: DEV

Database connection info

rcu_hostname: default.oracle.hostname
rcu_port: 1521
rcu_service: orcl

Place to put the temp install files, and where is the RCU executable

rcu_temp_dir: /home/oracle/installer
rcu_password_file: "{{ rcu_temp_dir }}/rcu_passwords.txt"
rcu_executable: /home/oracle/middleware/oracle_common/bin/rcu

A simple way to hand in variables for complex RCU such as OSB or ODI:

rcu_variables: "SOA_PROFILE_TYPE=SMALL,HEALTHCARE_INTEGRATION=NO"

Newer RCU installs such as WLS will sneak in an extra schema…​ because of course that’s what these things need is more schema.

Set this to add N number of extra passwords so RCU will run successfully:

rcu_fixup_count: 1

Dependencies

No dependencies.

Example Playbook

Including an example of how to use the role, e.g., installing the schemas for EDQ.

    - hosts: admin
      become_user: oracle
      become: yes
      vars:
        rcu_components:
          - EDQ_CONF
          - EDQ_RES
          - EDQ_STAGING
          - STB
          - OPSS
          - IAU
          - IAU_APPEND
          - IAU_VIEWER
        rcu_action: createRepository
        rcu_temp_dir: /home/oracle/installer
        rcu_password_file: "{{ rcu_temp_dir }}/rcu_passwords.txt"
        rcu_executable: /home/oracle/middleware/oracle_common/bin/rcu
        rcu_variables: "SOA_PROFILE_TYPE=SMALL,HEALTHCARE_INTEGRATION=NO"

      roles:
         - staylorx.wls-rcu

Another example installing the schemas for OSB.

    - hosts: admin
      become_user: oracle
      become: yes
      vars:
        rcu_components:
          - STB
          - OPSS
          - SOAINFRA
        rcu_action: createRepository
        rcu_temp_dir: /home/oracle/installer
        rcu_password_file: "{{ rcu_temp_dir }}/rcu_passwords.txt"
        rcu_executable: /home/oracle/middleware/oracle_common/bin/rcu
        rcu_variables: "SOA_PROFILE_TYPE=SMALL,HEALTHCARE_INTEGRATION=NO"

      roles:
         - staylorx.wls-rcu

License

BSD, MIT

ansible-role-wls-rcu's People

Contributors

staylorx avatar bhavanikambham avatar

Watchers

James Cloos 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.