Learn how to use the Ansible Sandbox environment to explore infrastructure automation
The sandbox offers various Ansible playbooks showcasing different infrastructure automation scenarios. Choose one from the left panel based on your interests.
Each playbook comes with a description and information about its complexity level and typical run time.
View the Ansible YAML code to understand how the automation works. The code is syntax-highlighted for readability.
Hover over different sections to see what each part of the playbook does.
Switch to the "Configuration" tab to customize various parameters for your deployment. These might include:
Click the "Deploy" button to launch the automation process. The system will:
Watch the deployment process in real-time on the "Output" tab, which shows the Ansible execution log.
Once deployment completes, you'll see a success message with details on how to access the deployed environment.
After deployment, you can:
Sandbox environments automatically shut down after 30 minutes to conserve resources. You'll see a countdown timer showing the remaining time. Make sure to complete your exploration before time runs out!
Playbook - A YAML file defining a series of Ansible tasks and configurations.
Task - An individual action Ansible executes on a managed host, such as installing a package or creating a file.
Role - A reusable, self-contained unit of tasks, variables, files, templates, and modules that can be shared across playbooks.
Inventory - A list of hosts that Ansible will manage, grouped logically for targeted execution.
Handler - A special type of task that only runs when notified by another task that made a change.
Variable - A value that can be set and referenced in playbooks, making them more flexible and reusable.
Template - A text file that uses variables to create dynamic configuration files.