From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Lesson 4 lab: Using ad-hoc commands

Lesson 4 lab: Using ad-hoc commands - Ansible Tutorial

From the course: Ansible: From Basics to Guru by Pearson

Lesson 4 lab: Using ad-hoc commands

We are now at the end of this lesson, let's do a lab. So in this lab you are going to use the appropriate module to copy the file etc-host from controlhost to tmp-host on the managed machines. And use the appropriate module to remove the file tmp-host from the managed machines. And do notice, we are talking about ad-hoc commands here.

Contents