2026-06-22 09:52:26 -05:00
2026-06-19 11:56:51 -05:00
2026-06-22 09:52:26 -05:00
2026-06-19 11:56:51 -05:00
2026-06-22 09:52:26 -05:00

Cachy-workstation

Infrastructure-as-Code for a CachyOS Linux workstation, managed with Ansible.

Goals

  • Describe and reproduce the workstation configuration declaratively
  • Learn Ansible patterns: site-based playbooks, roles, and tags

Design

  • Tool: Ansible
  • Target: localhost only
  • Entry point: site.yml
  • Structure: Roles with tags for selective execution

Prerequisites

  • Ansible installed on the workstation
  • A working Python environment (required by Ansible)

Install prerequisites manually before running the playbook:

sudo pacman -S ansible ansible-lint

Usage

Run the full site playbook:

ansible-playbook site.yml

Run only tasks matching a specific tag:

ansible-playbook site.yml --tags <tagname>

Skip tasks matching a tag:

ansible-playbook site.yml --skip-tags <tagname>

Structure

.
├── site.yml          # Main entry point
├── inventory/        # Inventory files
├── roles/            # Ansible roles
└── group_vars/       # Variables by group

Structure will grow as roles are added.

S
Description
my workstation
Readme 63 KiB
Languages
Jinja 100%