A selection of Ansible playbooks and roles.
Roles | Description |
---|---|
apt_proxy | Configure APT proxy settings |
autojump | Filesystem Navigation |
bat | cat alternative |
dotfiles_repo | dotfiles repo |
exa | ls alternative |
fzf | Fuzzy Finder |
go | Go Language |
nix | Nix Package Manager - Single user install |
ripgrep | grep alternative |
pipx | Python application installer |
pyenv | Python versions manager |
rust | Rust Language |
Playbooks | Description |
---|---|
plays/dev.yaml | Software development |
Local run example:
# Replace username, as desired
# It is expected to be an existing user on the system
$ ansible-playbook --extra-vars "username=myname" --ask-become-pass --connection local --inventory localhost, plays/dev.yaml
- Python 3.10
- Python pip (https://pip.pypa.io/en/stable/installing/)
- pipenv (https://pipenv.readthedocs.io/en/stable/)
# Debian/Ubuntu example
$ sudo apt install python3-pip
$ python3 -m pip install pip --upgrade
$ python3 -m pip install pipenv
$ make help
clean: Clean generated files, including virtual environment
env-lock: Update environment lock file
env-update: Update environment
help: This menu
lint: Lint source
lint-yaml: Lint YAML source
test: Test Ansible roles
- Create a role structure with
molecule
.
$ molecule init role <role-name> --driver-name docker