Ansible for DevOps: Write your first Playbook

Offered By
Coursera Project Network
In this Free Guided Project, you will:

Understand core Ansible concepts

Write an Ansible Playbook using the concepts

Showcase this hands-on experience in an interview

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this course, we are going to focus on the following learning objectives: - Understand core Ansible concepts - Write an Ansible Playbook using the concepts By the end of this course, you will have a solid grasp constructing Ansible Playbooks. You will be ready to work with Ansible in your own environments from the ground up. In this 1-hour long project-based course on Ansible for DevOps: Write your first Playbook, you will work with some of the core concepts of Ansible. We will be setting up servers which will act as one control machine and multiple host machines. We will then configure Ansible on our clean Ubuntu server. We will learn the core concepts that make up a Playbook including Plays, Tasks, Modules, Notify Handlers and Var injection. You will get to write your own Playbook which will use the learned concepts. We will learn how to make changes in our Playbooks and see how that affects our host machines. By the end of this course you will be comfortable going forward building your own Ansible files, and accessing the documentation yourself. Please note this course requires you to have a credit card to be able to set up your own Linode account if you don’t already have one.

Requirements
  • Solid Linux, commands, file structure, VIM editing
  • SSH
  • shell/Bash scripting
  • YML format

Skills you will develop

DevopsConfiguration ManagementAnsible ModulesPlaybooksAnsible

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. What is Ansible?

  2. Playbooks, Plays, Tasks and Modules

  3. Install Ansible on control machine, and launch multiple host machines to target

  4. Add our host machines to hosts/inventory file and set up SSH keys

  5. Writing Our first Playbook - Part 1

  6. Writing Our first Playbook - Part 2

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.