Ansible role for managing AWS VPCs
| defaults | ||
| meta | ||
| tasks | ||
| tests | ||
| .ansible-lint | ||
| .gitignore | ||
| ansible.cfg | ||
| CHANGELOG.md | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| Taskfile.yaml | ||
| uv.lock | ||
AWS VPC Ansible role
This ansible role handles the setup and teardown of an AWS VPC.
Requirements
uv.
Role Variables
Required Variables
| Variable | Description | Example |
|---|---|---|
aws_vpc_name |
Name or name prefix for all resources | ansible-role-aws_vpc |
Optional Variables
Optional variables and their defaults are in defaults/main.yaml.
Dependencies
See pyproject.toml for the python dependencies and meta/requirements.yaml for the ansible galaxy dependencies.
Example Playbook
Setup
---
Cleanup
---
Testing
Run task check for lintint and task test for ansible playbook testing.