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 14 lab: Advanced Ansible Tower usage

Lesson 14 lab: Advanced Ansible Tower usage - Ansible Tutorial

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

Lesson 14 lab: Advanced Ansible Tower usage

We're at the end of this lesson, let's do a lab. In this lab, you create a job template workflow that meets a couple of requirements. The primary job will create a user with a password, configure a variable prompt where the user needs to input username as well as password. It is allowed but not required to use a properly encrypted password. And if the job executes successfully, another job should run that creates a directory, dolayuser files, and set the user you created as owner of that directory. Replace dolayuser with the name of the user that you just created. And if the job fails to execute, a dedicated job should run that prints a message failed to create the user. Good luck!

Contents