Ansible

How To Manage Multiple Servers with Ansible Ad Hoc Commands — step-by-step Devops tutorial on Progressive Robot

How To Manage Multiple Servers with Ansible Ad Hoc Commands

With Ansible, you can use ad hoc commands to execute one instruction at a time on one or more remote servers. They are ideal to perform tasks that aren’t executed frequently, and to consult information about the remote systems that Ansible manages. In this cheatsheet guide, you’ll learn how to use ad hoc commands to manage one or more servers with Ansible, and how to perform some common tasks this way.

Read more
How to Use Ansible Roles to Abstract your Infrastructure Environment — step-by-step Linux tutorial on Progressive Robot

How to Use Ansible Roles to Abstract your Infrastructure Environment

This tutorial will explore how to create roles with templates and static files. Once you are familiar with the fundamentals of building roles, we’ll use [Ansible Galaxy](https://galaxy.ansible.com/) to incorporate community contributed roles into playbooks. By the end of this tutorial you will be able to create your own environment specific roles for your servers and use them in your own playbooks.

Read more
Understanding Privilege Escalation in Ansible Playbooks — step-by-step Devops tutorial on Progressive Robot

Understanding Privilege Escalation in Ansible Playbooks

It is important to understand how privilege escalation works in Ansible, so that you’re able to execute your tasks with appropriate permissions. By default, tasks will run as the connecting user – this might be either root or any regular user with SSH access to the remote nodes in an inventory file. In this guide, learn more about privilege escalation in Ansible playbooks.

Read more
How To Define and Use Handlers in Ansible Playbooks — step-by-step Linux tutorial on Progressive Robot

How To Define and Use Handlers in Ansible Playbooks

In a nutshell, handlers are special tasks that only get executed when triggered via the notify directive. Handlers are executed at the end of the play, once all tasks are finished. In Ansible, handlers are typically used to start, reload, restart, and stop services. In this guide, learn more about how to define and use handlers in Ansible playbooks.

Read more
How to Manage Multistage Environments with Ansible — step-by-step Devops tutorial on Progressive Robot

How to Manage Multistage Environments with Ansible

Ansible is a powerful configuration management system used to set up and manage infrastructure and applications in varied environments. While Ansible provides easy-to-read syntax, flexible workflows, and powerful tooling, managing large numbers of hosts that have important…

Read more
How to Use Ansible to Automate Initial Server Setup on Rocky Linux 9 — step-by-step Linux tutorial on Progressive Robot

How to Use Ansible to Automate Initial Server Setup on Rocky Linux 9

Server automation now plays an essential role in systems administration, due to the disposable nature of modern application environments. Ansible offers an architecture that doesn’t require special software to be installed on nodes. It also provides a robust set of features and built-in modules which facilitate writing automation scripts.

Read more
CHAT