How To Create and Use Templates in Ansible Playbooks
Create and use Jinja2 templates in Ansible playbooks for dynamic configs, variables, and loops to automate server configuration efficiently.
Create and use Jinja2 templates in Ansible playbooks for dynamic configs, variables, and loops to automate server configuration efficiently.
This tutorial, designed to accompany the Slides and speaker notes for the Automating Server Setup with Ansible Workshop Kit, will show you how to set up an inventory file and execute a set of provisioning scripts to fully automate the steps necessary to set up a remote LEMP server on Ubuntu 18.04 and to deploy a demo Laravel application to this system.
Kubernetes is a container orchestration system that manages containers at scale. In this guide, you will set up a Kubernetes cluster from scratch with Kubeadm and deploy containerized applications on it.
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.
<$>[note] [label Automatisieren der Servereinrichtung mit Ansible Workshop Kit-Materialien] Dieses Workshop Kit ist so konzipiert, dass es einem technischen Fachpublikum erlaubt, sich mit Konfigurationsmanagementkonzepten sowie der Verwendung von Ansible zur Automatisierung der…
La administración de configuración es el proceso de manejar los cambios en un sistema de manera que se asegure la integridad a lo largo del tiempo, lo que suele implicar herramientas y procesos que facilitan la automatización y la capacidad de observación. Si bien este…
Neste guia, falaremos sobre como instalar e configurar o Ansible em um servidor Ubuntu 18.04. Para uma versão mais detalhada deste tutorial, contendo explicações mais completas para cada passo, confira [Como instalar e configurar o Ansible no Ubuntu…
Ansible is a modern configuration management tool that facilitates the task of setting up and maintaining remote servers. With a minimalist design intended to get users up and running quickly, it allows you to control one to hundreds of systems from a central location. This short guide demonstrates how to execute Ansible playbooks to automate server setup, using an example playbook that sets up an Nginx server with a single static HTML page.
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.
Ansible offers a simple 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. This guide explains how to use Ansible to automate the steps contained in our guide on How To Install the Apache Web Server on Ubuntu 18.04.