From the course: Learning Ansible

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Write a playbook with Ansible

Challenge: Write a playbook with Ansible - Ansible Tutorial

From the course: Learning Ansible

Start my 1-month free trial

Challenge: Write a playbook with Ansible

- Well, I hope you're ready to really demonstrate the great knowledge that you've gained regarding this exciting product called Ansible. In this challenge, you're going to write a Playbook in Ansible in order to carry out some tasks. So what I would like to challenge you with is to create two text files in a directory of your choosing. You are then going to create a Playbook with a single play that consists of two tasks. And you're going to run these against your local Ansible control node. The first task is going to have you ping the local Ansible system. And the second task is going to have you display the details of those two text files. Now, remember, you want to make sure you run this Playbook so that you can actually see the output of the modules that you're going to use in this Playbook. This is a challenge that shouldn't take you longer than 40 minutes to complete. Have fun.

Contents