Implement Ansible roles for Rocky Linux Testing Framework
- Added `bootstrap_sparrowdo` role for bootstrapping Sparrowdo on a VM. - Introduced `cleanup_vm` role for cleaning up VMs and disk images. - Created `download_image` role to download and cache QCOW2 images. - Developed `golden_image` role for creating and customizing golden images. - Implemented `provision_vm` role for provisioning VMs as linked clones. - Added `run_test` role for executing tests with Sparrowdo. - Created playbooks for building golden images, running single tests, and running test suites. - Enhanced documentation with usage examples, configuration details, and troubleshooting tips. - Added support for multiple cloud providers (AWS, Azure) in the test execution workflow. Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
This commit is contained in:
29
ansible/inventory/group_vars/aws.yml
Normal file
29
ansible/inventory/group_vars/aws.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
# AWS provider-specific configuration
|
||||
# TODO: Implement AWS-specific settings
|
||||
|
||||
# Provider identification
|
||||
provider: aws
|
||||
|
||||
# AWS-specific variables (to be implemented)
|
||||
# aws_region: "us-east-1"
|
||||
# aws_instance_type: "t3.medium"
|
||||
# aws_vpc_id: ""
|
||||
# aws_subnet_id: ""
|
||||
# aws_security_group_id: ""
|
||||
|
||||
# Rocky Linux AMI IDs (to be populated)
|
||||
# rocky9_ami: "ami-xxxxxxxxx" # Rocky 9 AMI for your region
|
||||
# rocky8_ami: "ami-xxxxxxxxx" # Rocky 8 AMI for your region
|
||||
|
||||
# Default AMI (override with -e "ami_id=ami-xxx")
|
||||
# ami_id: "{{ rocky9_ami }}"
|
||||
|
||||
# Instance settings
|
||||
# instance_name_prefix: "test"
|
||||
# instance_tags:
|
||||
# Environment: "testing"
|
||||
# ManagedBy: "ansible"
|
||||
|
||||
# Note: AWS does not require golden image creation
|
||||
# Workflow: Select AMI -> Launch instance -> Run Sparrowdo tests -> Terminate
|
||||
Reference in New Issue
Block a user