I created a playbook for Ansible to provision a WebLogic server, install Fusion Middleware Infrastructure software and create a Domain with a managed server in a RHEL 7 Linux System. (CentOS 7 and Oracle Linux 7 are supported too)
You can download the code here:
The playbook is for Oracle Fusion Middleware Infrastructure 12.1.3.
Playbook consists of 5 roles.
1. linux-wls Role:
This role is for prepare the linux system for host the Oracle Fusion Middleware software. It installs the required libraries that required for Fusion Middleware. It disables SElinux and Linux firewall. It configures linux kernel parameters appropriate for Fusion Middleware. It creates an oracle user and group for installing the software. It adds the appropriate process and open file limits to oracle installation user and finally it creates the basic directory structure for installation.
2. linux-jdk Role:
This role installs the JDK, fix entropy device for java and add JAVA_HOME and fix the PATH for oracle user to include the bin folder of JDK
3. fmw-software Role:
This role is for install the Fusion Middleware software
4. fmw-domain Role:
This role creates a Domain extended with Fusion Middleware Infrastructure software. It creates the repositories in an Oracle Database for WebLogic schemas for OPSS, audit etc. It creates the Domain. It starts the nodemanager and created a systemd startup script or nodemanager. It starts the AdminServer and creates ORACLE_HOME variable for oracle user. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.