Skip to content

Ansible

Automating databases, application servers and operating systems with Ansible: playbooks and roles, Ansible Automation Platform, and the practices that keep automation maintainable.

Docker Containers for Developers

As I am working on developing a component for YaK, I have to stick to standards on how to write code in Ansible as well as many other constraints regarding security. I always thought of docker being a server component that facilitate deployment and scaling, but it is much more than that: In this blog, I will use it on… 

Create and manage Ansible Execution Environments

by Alexandre Nestor Introduction What is an Ansible Execution Environnement, by the way ? As per RedHat definition an Ansible Execution Environment (EE) is a standard way to build and distribute the environment that automation runs in, which reduces complexity and makes it faster and simpler to develop and deploy automation. More simple, an EE is a container, by default… 

Overcome jboss-cli Limitations with Ansible

The work on YaK JBoss/WildFly component helped me to improve my knowledge of Ansible, but not only. I also learned a lot on jboss-cli scripting and especially limitations that comes with it. For instance, followings are not supported by jboss-cli language: Even if there are some possibilities to overcome them with programming language like Java, as I am on Ansible,… 

cloud-init native Ansible support

Cloud-init is a software developed to setup automatically a cloud virtual machine using metadata ingested and applied at the first boot or at a chosen frequency. All the magic happens through a #cloud-config YAML file. #cloud-config already supports Ansible execution since ages Yes, true ! But only through cc_runcmd module as follows Alternatively, you can install Ansible through Python package… 

Oracle HTTP Server (OHS) 12c : Configure Full SSL

This blog describes how to configure an Oracle HTTP Server (OHS) 12c fronting a Fusion Middleware Forms and Reports in full SSL mode. This means, the HTTP Server listen in SSL and the mod_wl_ohs plugin is configured to connect to WebLogic Servers configured in SSL. As I did this configuration exercise for the YaK weblogic_domain component, the configuration has been… 

JBoss EAP (and WildFly) cli Scripting via Ansible

As I am working on a new YaK component to deploy a JBoss-EAP/WildFly server, I decided to configure it with help of jboss-cli.sh scripting tool instead of direct modification of xml files. The idea is to create a script on the server via Jinja templates and then run it. Tasks The role has only one main.yml file which is doing… 

Ansible deployment code for Oracle Fusion Middleware Infrastructure

During the YaK weblogic_domain component development phase, I added the Oracle fusion middleware forms & Reports and the Oracle fusion middleware infrastructure for Application development Framework (ADF) deployments to the weblogic_domain component. I encountered an issue that the WebLogic domain was created but it was missing the Metadata Service repository (MDS) connection and thus deploying ADF applications was failing. Even… 

How the YaK is born

It all began with a challenge In the consulting job, some tasks can be a bit repetitive. They also take up valuable consulting time that the client would be more than happy to use for higher value-added tasks. So, my team and I started thinking about a solution two years ago. Which tasks could be automated to facilitate the work… 

Using Docker containers for Ansible testing

I’d like to share in this post a quick setup using Docker containers for Ansible testing. I wanted to create a small lab for my Ansible scripts testing. The natural option that came to my mind was to create some virtual machines with Virtualbox using Vagrant in order to automate that process. However as I’m using a Macbook with a… 

Ansible: Imagination is the Limit

As you might know, I have discovered Ansible 1 year ago. Since then, I am not using for its main purpose as wikipedia says: Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. Instead, I develop few playbooks for others objectives. I will present you two of them: Search in Logs In one customer,… 

What is Variable Precedence in Ansible?

In Ansible, definition of variable precedence is often overlooked. Despite what I wrote in my previous blog (Use Ansible like a Programming Language), Ansible is not exactly a programming language. There is a difference, especially on the way variables are managed. At the beginning, as I am used to scripting, I was a bit confused by the way Ansible is… 

Managing Ansible with AWX – Part II – Organizations, Users and Teams

In the 1st post of this serie, I demonstrate how easy it is to install AWX on a local Minikube Kubernetes cluster. Now that the installation is done and the access to the web console is working, let’s find out what kind of objects should be created to best manage Ansible playbooks deployments using AWX. AWX Command Line Interface Obviously…