Skip to content

Latest commit

 

History

214 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Prerequisites

Make sure you have the following software installed on your system:

  1. Any terminal program supports 256 colors.
  2. git.
  3. ansible.

To install these dependencies (on Ubuntu, for example):

sudo apt update && sudo apt install -y \
  python3 \
  python3-pip \
  python3-venv \
  git

pip install --upgrade --user --break-system-packages \
  ansible-core==2.17.14

Usage

git clone https://github.com/rezwyi/dotfiles.git
cd dotfiles
export PATH="${PATH}:${HOME}/.local/bin"
ansible-playbook main.yaml --extra-vars "@/path/to/the/file/with/extra/vars.yaml"

Example extra-vars file:

---
dotfiles_system_username: foobar
dotfiles_git_username: John Doe
dotfiles_git_user_email: im@john.doe
dotfiles_yc_disk_exclude_dirs: Uploads
dotfiles_yc_disk_systemd_enabled: true
dotfiles_k8s_helm_version: 3.18.4
dotfiles_k8s_k9s_version: 0.50.9
dotfiles_k8s_krew_version: 0.4.5
dotfiles_k8s_kubectl_version: 1.33.3
dotfiles_testssl_sh_version: 3.2.1

Updating requirements.txt

mkdir -p /tmp/update-pip-req && cd /tmp/update-pip-req
python3 -m venv .venv
source .venv/bin/activate
pip install -r /path/to/requirements.txt

pip install --upgrade \
  ansible \
  ansible-lint \
  atlassian-python-api \
  awscli \
  black \
  boto3 \
  bpytop \
  click \
  docker \
  flake8 \
  Flask \
  gunicorn \
  molecule \
  pytest \
  python-dotenv \
  python-telegram-bot \
  qrcode \
  uv \
  yamllint \
  yandexcloud

pip list --format=freeze > /path/to/requirements.txt

About

All of my configuration files

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages