Ansible playbook to install and configure my dev env on Ubuntu.
This playbook installs i3-gaps and some additional tools to provide a complete i3 environment.
This Ansible role installs the following components:
- i3-gaps the tiling window manager with a custom config.
- rofi: A window switcher, run dialog and dmenu replacement
- compton a compositor for X11.
- ansible
- sublime
- fzf
- vscode
- docker
- docker-compose
- [google-chrome]
- [firefox]
- node
- [libreoffice]
- [vlc]
- [openfortigui]
- [zoom]
- silversearcher-ag
- [pulseaudio]
- ansible
- pycharm
- [themes] Random wallpapers and custom betterlockscreen(https://github.com/pavanjadhaw/betterlockscreen) modified
Clone repo and run the playbook:
ansible-playbook playbook.yml -i hosts -e action=install -e sym_links=true -K
This repo contains ssh private keys encrypted with ansible-vault. By default are disabled, if you want to add them or create your own set add_ssh_pkeys to true and encrypt your own.
ansible-playbook playbook.yml -i hosts -e action=install -e add_ssh_pkeys=true -K
You'll need a password in the host that executes ansible and encrypt the private keys with that.
touch ~/.ansible.cfg
# set the following content
[defaults]
vault_password_file=/path/to/your/vault_secret.sh
# After that set the password in /path/to/your/vault_secret.sh, e.g.:
#!/bin/bash
echo yourpassword
chmod +x vault_secret.sh
# Run encrypt
ansible-vault encrypt path/to/my/pkeys/id_rsa*
To Ansible playbook can be tested with Vagrant:
vagrant up --provision
Once the VM is running you can use the following to run ansible anytime:
vagrant provision
- Install wrk
- Install wine
- Install all python versions
- Install aws
- Install wormhole
- upgrade docker compose version: https://stackoverflow.com/a/49839172
- Polybar
- kdiff3
- docker compose https://docs.docker.com/compose/install/
- Lightdm greeter:https://github.com/nick92/Enso-OS/tree/master/greeter
- https://github.com/AdguardTeam/AdGuardHome#getting-started
- Remove login box rendered on betterlockscreen
- change dns server modify /etc/resolve.conf ** https://www.unixmen.com/how-to-find-best-and-fast-dns-servers-to-optimize-your-internet-speed/ ** https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/