# Test E2e

> End-to-end infrastructure pipeline validation across Terraform and Ansible repos Use when this capability is needed.

- Skill: `tomevault-io/test-e2e` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/test-e2e`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/test-e2e/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/test-e2e

---


# Infrastructure End-to-End Test

Full pipeline validation across every infrastructure repo in dependency order.
Validates syntax, plans changes, exports inventory, and dry-runs Ansible playbooks.

## Pipeline Stages

### Stage 1: Terraform Validate

```bash
cd ~/git/terraform-proxmox/main
doppler run -- terragrunt validate
```

### Stage 2: Terraform Plan

```bash
cd ~/git/terraform-proxmox/main
doppler run -- terragrunt plan
```

### Stage 3: Export Inventory

Run `/infra-sync-inventory` to export Terraform outputs and distribute to Ansible repos.

### Stage 4: Ansible Syntax Check

Run in parallel across all Ansible repos:

```bash
doppler run -- ansible-playbook --syntax-check -i inventory/hosts.yml playbooks/site.yml
```

Target repos: ansible-proxmox, ansible-proxmox-apps, ansible-splunk

### Stage 5: Ansible Check Mode (Dry Run)

Run in parallel across all Ansible repos:

```bash
doppler run -- ansible-playbook --check -i inventory/hosts.yml playbooks/site.yml
```

### Stage 6: Ansible Diff

Run in parallel across all Ansible repos:

```bash
doppler run -- ansible-playbook --check --diff -i inventory/hosts.yml playbooks/site.yml
```

## Results

Report per-stage, per-repo pass/fail status:

| Stage | terraform-proxmox | ansible-proxmox | ansible-proxmox-apps | ansible-splunk |
| --- | --- | --- | --- | --- |
| Validate | PASS/FAIL | - | - | - |
| Plan | PASS/FAIL | - | - | - |
| Syntax Check | - | PASS/FAIL | PASS/FAIL | PASS/FAIL |
| Check Mode | - | PASS/FAIL | PASS/FAIL | PASS/FAIL |
| Diff | - | PASS/FAIL | PASS/FAIL | PASS/FAIL |

## Error Handling

Stage failures in Terraform block all subsequent stages. Ansible stage failures are independent per-repo.

## Related Skills

- **orchestrate-infra** (infra-orchestration) — Master orchestrator for cross-repo infrastructure with dependency graph dispatch
- **sync-inventory** (infra-orchestration) — Export Terraform inventory and distribute to Ansible repositories
- **infrastructure-standards** (infra-standards) — Use when working on infrastructure repos (terraform, ansible, kubernetes, proxmox, nix devShells)

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/jacobpevans) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

