Ansible is a powerful automation tool that allows you to manage and configure your infrastructure through code. One of its most convenient features is the ability to run ad hoc commands, which are one-off commands executed against your managed hosts without the need for writing a full playbook. In this tutorial, we’ll explore how to run ad hoc commands in Ansible and leverage their flexibility for various tasks.
Various Stuff
How to install KeyCloak with Ansible
This tutorial guides you through provisioning a Keycloak server using Ansible. Keycloak is an open-source identity and access management (IAM) solution perfect for securing your applications. Ansible is a powerful automation tool that simplifies server configuration and deployment.
Ansible CheatSheet for DevOps
Welcome to the Ansible Cheatsheet which contains a list of the most common commands and scripts that you can use to get started quickly with Ansible, Ansible Playbooks and Ansible Roles.
How to skip the sudo password in Ansible Playbooks
Skipping the need to enter the sudo password when running Ansible playbooks that contain the become
command can be convenient, especially in automated or repetitive tasks. However, it’s important to exercise caution when doing so, as it may compromise security if not handled properly. Here’s a step-by-step tutorial on how to achieve this.
Getting Started with Cucumber Testing in Java
Cucumber is a popular open-source tool that supports Behavior-Driven Development (BDD) for testing software applications in Java. BDD emphasizes collaboration between developers, testers, and stakeholders by writing test scenarios in a readable, plain English language called Gherkin. This tutorial will guide you through the basics of setting up and writing your first Cucumber test in Java.
How to connect to the H2 Console from the Browser
In this short article, we will learn how you can connect to the H2 Database, which is running in TCP mode, using the Connection Page available from the Browser Web application.
JUnit 5: Using Custom DisplayNames for Tests
JUnit 5 provides a powerful feature called @DisplayName
, which allows you to customize the display name of your tests for better readability. In this tutorial, we will explore how to take control of your test names using the JUnit 5 DisplayNameGenerator
. This feature enables you to create expressive, informative, and dynamic test names, making your test suite more readable and maintainable.
TestContainers made simple with JBang
This article discusses how to execute Tests on Container Images using JBang as Java scripting tool and TestContainers + JUnit 5 Jupiter as Test library.
Managing Git Repositories with Ansible
Ansible is a powerful automation tool that allows you to manage and configure systems, including version control systems like Git. In this tutorial, we will explore the basics of managing Git repositories using Ansible. We’ll cover the essentials of the Ansible inventory file, introduce the concept of playbooks, and provide an example playbook for cloning … Read more
Getting started with FlyWay Database Migrations
This updated tutorial will show you how to perform database migrations using FlyWay in two different use cases: using Flyway Maven’s plugin and performing the Migration within an Enterprise Application running on WildFly.