Using Ansible to install WebLogic 12c R2 (12.2.1) and Fusion Middleware Infastructure on Oracle Linux 7.1 by Christos Vezalis

Posted: December 31, 2015 in WebLogic
Tags: , , , , , , ,


clip_image002Before a couple of days Oracle release WebLogic 12c R2 (12.2.1). There are a lot of cool features like Java EE 7 support and Multitenancy Support for WebLogic domains. Installation of WebLogic server along with ADF runtime (Fusion Middleware Infrastructure) are not hard but requires a lot of parameters to be configured and a significant time when you need to repeat the actions in multiple virtual machines. Also Infrastructure updates are time consuming. Ansible is a great tool that help us automate this things. This article will demonstrate the creation of a WebLogic domain using Ansible. You can download code in my git hub account:

Fusion Middleware needs a Database repository for storing the required schemas. If you don’t have a database already you can use an Ansible playbook i have create to install an Oracle Database 12c automatically. You can download the code here:
You can configure your infrastructure variables in infa-vars.yml
You can test the playbook from the extracted folder using:
vagrant up a virtual machine will be ready in a few minutes with no other interaction. You can access the Enterprise Manager at if you use the default settings.

The playbook contains several roles for do the job in a modular way:

Linux-wls Role:

This role install the required libraries on Oracle Linux, disables the Security Enhanced Linux and firewall and configures some kernel parameters required for WebLogic to run smoothly. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s