Skip to content

Instantly share code, notes, and snippets.

View zed-eiq's full-sized avatar

Zed Tan zed-eiq

View GitHub Profile
dnf install -y epel-release
dnf install -y zsh git unzip tcpdump neovim tmux jq fzf ripgrep curl
lchsh root <<<"/bin/zsh"
curl -LsSf https://astral.sh/uv/install.sh | sh
curl -sfL https://direnv.net/install.sh | bash
mkdir -p "${HOME}/.config/nvim/"

group_vars and Ansible variables

What it says on the tin: the group_vars directory contains variable definitions for inventory groups.

This is a way to scope variables to a given inventory group. We can define variables for the elasticsearch inventory group that are not accessible by plays running on the application inventory group.

Ansible expects the following directory structure: