Write basic ansible playbooks

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

Run ad-hoc Ansible commands

Write Ansible playbooks for basic tasks, file operations and software installation

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

In this 1-hour long project-based course, you will learn how to setup an inventory of hosts which, for our case here, will only contain one hosts, which is the local host. You will learn how to run Ansible ad-hoc commands. Then you will learn what an Ansible playbook looks like, and how to write a playbook to perform basic operations. You will write playbooks to run file tasks and to setup software. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

DevopsSystem AdministrationYet Another Markup Language (YAML)IT Automation

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. Setup your Ansible inventory

  2. Execute ad-hoc commands

  3. Understand the structure and syntax of the playbook yaml file

  4. Task 4: Write a playbook that performs basic operations

  5. Write a playbook that performs file operations

  6. Write a playbook that installs software

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.