Ansible role for managing AWS VPCs
Find a file
2026-03-29 03:29:11 +02:00
defaults feat(role): initial import 2026-03-29 03:29:11 +02:00
meta feat(role): initial import 2026-03-29 03:29:11 +02:00
tasks feat(role): initial import 2026-03-29 03:29:11 +02:00
tests feat(role): initial import 2026-03-29 03:29:11 +02:00
.ansible-lint feat(role): initial import 2026-03-29 03:29:11 +02:00
.gitignore feat(role): initial import 2026-03-29 03:29:11 +02:00
ansible.cfg feat(role): initial import 2026-03-29 03:29:11 +02:00
CHANGELOG.md feat(role): initial import 2026-03-29 03:29:11 +02:00
LICENSE feat(role): initial import 2026-03-29 03:29:11 +02:00
pyproject.toml feat(role): initial import 2026-03-29 03:29:11 +02:00
README.md feat(role): initial import 2026-03-29 03:29:11 +02:00
Taskfile.yaml feat(role): initial import 2026-03-29 03:29:11 +02:00
uv.lock feat(role): initial import 2026-03-29 03:29:11 +02:00

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.