Posts

Showing posts with the label Ansible for WebLogic

Ansible automation for WebLogic - Part 2: Unarchive and Copy WebLogic installers

Image
This post is continuous learning " Ansible automation for WebLogic " series. If you are not read the previous post please go through it which will be telling you that Java installation using Ansible . That same play book you can use it for CPU patches. The objective of this post is to use the ansible playbook for unzip the WebLogic installer and run the silent mode installer. As we have explored in the last post unarchive module used for the Java installer which had tar.gz extension.  There are multiple modules in ansible which are very powerful. In this post I would like to share my experiments with the following: unarchive module copy module Unarchive module in Ansible We can use the unarchive module for Zip files and also for tar.gz files. When we use this module need to provide the src, dest values that is source and destination. This module automatically copies the zip file and unzip it in the remote The copy module in Ansible The copy module is works similar...

Ansible Automation for WebLogic: Automate Java Installation Step by Step

Image
Can you automate the Java installation required for WebLogic across multiple servers without manually logging in to every machine? If you manage WebLogic environments, you already know that middleware setup can involve many repetitive activities—installing Java, preparing directories, copying installers, configuring users, and preparing servers for WebLogic installation. Instead of performing these activities manually on every server, Ansible can automate the entire process . In this tutorial, we will start with a simple but practical example: automating Java installation on WebLogic application servers using an Ansible playbook . This post is the first part of the Ansible Automation for WebLogic series. What We'll Learn By the end of this tutorial, you will understand how to: Understand the basic Ansible architecture Configure an Ansible inventory Establish SSH connectivity between Ansible and target servers Validate connectivity using the Ansible ping module Create your first ...