Category Archives: Ansible

Ansible variables

Ansible tutorial – part 4

In this part we will focus on Ansible variables. How to use them in playbooks, tasks and templates. What is the purpose of variables in Ansible? Imagine the situation where you have two servers. On each of them you need to install nginx. But each server requires a bit different configuration. Let’s take simplest case – […]


Ansible tutorial – part 2

This is part 2 of Ansible tutorial. In this part you will learn how to create playbooks, what are roles and tasks and how to use privileges escalation in Ansible. Playbooks Playbooks are essential feature of Ansible. In Playbooks we specify what and how our server will be configured and provisioned. Go to our directory that […]

Ansible tutorial - part 1

Ansible tutorial – part 1

What you will learn in part 1 of this tutorial? What is Ansible? How to install Ansible on Windows/Linux/MacOS? How to prepare test environment for Ansible? Intro to Inventory files. First connection to the server. First thing first – what is Ansible? Ansible is a simple yet powerful tool for configuration management and orchestration of your […]