Skip to content

kreigan/infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure Automation

This repository contains infrastructure automation tools and configurations for managing homelab infrastructure.

Structure

  • ansible/ - Ansible playbooks, roles, and inventory for infrastructure provisioning
  • .taskfiles/ - Task automation using Taskfile

Quick Start

Prerequisites

  • Ansible >= 2.9
  • Python >= 3.8
  • Task (for automation tasks)
  • 1Password CLI (for secret management)

Configuration

  1. Configure variables in:
    • ansible/files/host_config/<hostname>.yml for host-specific variables
    • ansible/files/group_config/<groupname>.yml for group variables
  2. Generate inventory variables: task ansible:generate-config
  3. Run playbooks as needed (see ansible/README.md)

Available Playbooks

Automation Tasks

View available tasks:

task --list

Secret Management

This repository uses 1Password for secret management. Sensitive values are stored as references in the format:

password: op://vault/item/field

The task ansible:generate-config command resolves these references using the 1Password CLI before generating the actual inventory files.

See Secret Reference Syntax for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published