Ansible

How To Access System Information (Facts) in Ansible Playbooks — step-by-step Devops tutorial on Progressive Robot

How To Access System Information (Facts) in Ansible Playbooks

By default, before starting to execute the set of tasks defined in a playbook, Ansible will take a few moments to gather information about the systems that are being provisioned. These are known as *facts*. Ansible facts contain information such as network interfaces and addresses, the operating system running on remote nodes, available memory, among other things. Learn how to access this information from your playbooks.

Read more
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
CHAT