Skip to content

tacticlaunch/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Infrastructure Setup

This repository contains Ansible playbooks for setting up K3s and ArgoCD on a VPS.

Prerequisites

  1. Ansible installed on your local machine
  2. SSH access to the target server
  3. Python 3.x installed on the target server

Setup

  1. Install required collections:

    ansible-galaxy collection install -r ansible/requirements.yml
  2. Update inventory file with your server details:

    • Edit ansible/inventory.yml
    • Update ansible/group_vars/all.yml with your desired configuration
  3. Run the playbooks:

    # Install K3s
    ansible-playbook -i ansible/inventory.yml ansible/playbooks/install_k3s.yml
    
    # Install ArgoCD
    ansible-playbook -i ansible/inventory.yml ansible/playbooks/install_argocd.yml

Post-installation

  1. Get the ArgoCD admin password from the playbook output
  2. Access ArgoCD UI through port-forward:
    kubectl port-forward svc/argocd-server -n argocd 8080:443
  3. Login with username: admin and the password from step 1

About

Infrastructure as Code for K3s and ArgoCD setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages