Ansible Sandbox Help Guide
Learn how to use and get the most out of the Ansible Sandbox environment
Getting Started
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:
- Domain names
- Directory paths
- Feature toggles
- VM template selection
- Resource allocation
Click the "Deploy" button to launch the automation process. The system will:
- Create necessary virtual machines
- Run the selected Ansible playbook
- Configure all services
- Provide access to the deployed environment
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:
- View the VM status and details in the "VM Status" tab
- Access deployed applications via provided URLs
- See resource utilization metrics
- Monitor the environment's remaining active time
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!
Frequently Asked Questions
Key Terms
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.