# jeffbildz/ansible-role-deploy-virtual-machine architecture

> Architecture diagram of the GitHub repository jeffbildz/ansible-role-deploy-virtual-machine, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jeffbildz/ansible-role-deploy-virtual-machine
- Repository: https://github.com/jeffbildz/ansible-role-deploy-virtual-machine

## Overview

This is an Ansible role for deploying a KVM virtual machine from a base image. The documented workflow is a playbook applying the role to a server, with role variables configuring the VM and image. The task implementation was not provided, so the graph shows only the documented invocation and deployment; it does not infer how the template, handlers, or image source are wired.

Main entry points: [`tasks/main.yml`](https://github.com/jeffbildz/ansible-role-deploy-virtual-machine/blob/main/tasks/main.yml) (VM deployment), [`defaults/main.yml`](https://github.com/jeffbildz/ansible-role-deploy-virtual-machine/blob/main/defaults/main.yml) (Role defaults)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_playbook(("Ansible playbook"))
node_config["Role defaults<br/>[main.yml]"]
node_tasks["VM deployment<br/>[main.yml]"]
node_vmhost["KVM VM host"]

node_playbook -->|"applies role"| node_tasks
node_config -->|"configures"| node_tasks
node_tasks -->|"deploys VM"| node_vmhost

click node_config "https://github.com/jeffbildz/ansible-role-deploy-virtual-machine/blob/main/defaults/main.yml"
click node_tasks "https://github.com/jeffbildz/ansible-role-deploy-virtual-machine/blob/main/tasks/main.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_playbook,node_vmhost toneIndigo
class node_config,node_tasks toneTeal
```

## Components

### Other components

- **Ansible playbook**
- [Role defaults](https://github.com/jeffbildz/ansible-role-deploy-virtual-machine/blob/main/defaults/main.yml): `defaults/main.yml`
- [VM deployment](https://github.com/jeffbildz/ansible-role-deploy-virtual-machine/blob/main/tasks/main.yml): `tasks/main.yml`
- **KVM VM host**

## Connections

- Ansible playbook → VM deployment: applies role
- Role defaults → VM deployment: configures
- VM deployment → KVM VM host: deploys VM
