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
lchsh root <<<echo "/bin/zsh"
mkdir -p "${HOME}/.config/nvim/"
## https://builtin.com/software-engineering-perspectives/neovim-configuration
cat<<"EOF">"${HOME}/.config/nvim/init.vim"
set nocompatible " disable compatibility to old-time vi

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: