Devops

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 Define Tasks in Ansible Playbooks — step-by-step Devops tutorial on Progressive Robot

How To Define Tasks in Ansible Playbooks

A task is the smaller unit of action you can automate using an Ansible playbook. Playbooks typically contain a series of tasks that serve a goal, such as to set up a web server, or to deploy an application to remote environments. Learn more about Ansible tasks in this short guide.

Read more
How To Protect Sensitive Data in Terraform — step-by-step Devops tutorial on Progressive Robot

How To Protect Sensitive Data in Terraform

Terraform provides automation to provision your infrastructure in the cloud. To do this, Terraform authenticates with cloud providers to deploy the resources and perform the planned actions. However, the information Terraform needs for authentication is very valuable. In this tutorial, you’ll hide sensitive data in outputs during execution and store your state in a secure cloud object storage, which encrypts data at rest. You’ll also use tfmask to censor values in the Terraform execution.

Read more
Navigator's Guide: Modular Infrastructure Configuration — step-by-step Devops tutorial on Progressive Robot

Navigator’s Guide: Modular Infrastructure Configuration

The previous section used Terraform and Ansible to provision resources (Droplets, Load Balancers, and Floating IPs) and deploy your WordPress application. In this supplemental section, we discuss some ways to simplify this configuration using Terraform modules and separate infrastructure environments. There’s no code to execute and no changes to make in this section, but the concepts are important when building a real-world setup.

Read more
5 Ways to Improve your Production Web Application Server Setup — step-by-step Devops tutorial on Progressive Robot

5 Ways to Improve your Production Web Application Server Setup

Once your application is up and running in a cloud server environment, you may be wondering how you can improve your server environment to make the leap from “it works” to a full-fledged production environment. This article will help you get started with planning and implementing a production environment by creating a loose definition of “production”, and by showing you some components that you can add to your existing architecture to make the transition.

Read more
How To Automate Jenkins Job Configuration Using Job DSL — step-by-step Devops tutorial on Progressive Robot

How To Automate Jenkins Job Configuration Using Job DSL

Jenkins is a popular automation server, often used to orchestrate continuous integration (CI) and/or continuous deployment (CD) workflows. In this tutorial, you’ll use Job DSL to configure two demo jobs: one that prints a ‘Hello World’ message in the console, and one that runs a pipeline from a Git repository. If you follow the tutorial to the end, you will have a minimal Job DSL script that you can build on for your own use cases.

Read more
How To Deploy Multiple Environments in Your Terraform Project Without Duplicating Code — step-by-step Devops tutorial on Progressive Robot

How To Deploy Multiple Environments in Your Terraform Project Without Duplicating Code

Some advanced features Terraform offers become useful when your project grows in size and complexity. It’s possible to alleviate the cost of maintaining complex infrastructure definitions for multiple environments by structuring your code to minimize repetitions and by introducing tool-assisted workflows for easier testing and deployment. In this tutorial, you’ll first deploy multiple infrastructure instances using different workspaces.

Read more
How To Set Up Ansible Inventories — step-by-step Devops tutorial on Progressive Robot

How To Set Up Ansible Inventories

In this guide, we’ll demonstrate how to create Ansible inventory files and organize servers into groups and subgroups, how to set up host variables, and how to use patterns to control the execution of Ansible commands and playbooks per host and per group.

Read more
CHAT