Skip to main content

Ad-Hoc Ansible Shell Scripts

Hands-On Lab

 

Photo of

Training Architect

Length

00:30:00

Difficulty

Intermediate

One of the keys to success with Ansible is being able to run ad-hoc commands and in this particular exercise we will make use of scripting and ad-hoc commands to perform tasks.<p> The value of ad-hoc commands in scripts is underscored by the fact that it is an objective of the Red Hat Certified Ansible Specialist exam.<p> In this lab we will create a bash script and use it to perform Ansible Ad-hoc tasks.<p> Note: Ansible has been setup and configured for use.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.