To execute playbook, you need to install ansible and its dependencies locally. To do that run the following commands:
sudo apt update && sudo apt upgrade -y
sudo apt install software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install ansible -y
pip3 install ansible-core
ansible-galaxy collection install --requirements-file roles/requirements.yml --upgrade
After that, you can run the playbooks:
make run
-
Iterm profile config needs to be imported manually.
- iTerm2 > Preferences > Profiles;
- Open the Other Actions... drop-down in the bottom left corner;
- Select Import JSON Profiles... from the list;
- Select the
DenisCosta.jsonfile; - Select DenisCosta from the Profiles list;
- Set it as default in the same dropdown below.
-
Iterm2 theme needs to be imported manually. Reference here.
- iTerm2 > Preferences > Profiles > Colors Tab;
- Open the Color Presets... drop-down in the bottom right corner;
- Select Import... from the list;
- Select the
Dracula.itermcolorsfile; - Select Dracula from Color Presets.
Look at Terminal role README for more information.
There are make tasks to run lint and tests
make lint
make lint-fix
make test
In a new installation of Ansible a problem related to python3-apt can occour.
...
"msg": "Could not import python modules: apt, apt_pkg. Please install python3-apt package."
...
There are many sugestions listed on the internet, but the creation
symlinks to the lib *.so solved the
problem on Pop!_os.
cd /usr/lib/python3/dist-packages
sudo ln -s apt_pkg.cpython*.so apt_pkg.so
sudo ln -s apt_inst.cpython*.so apt_inst.so
pip uninstall resolvelib
pip install resolvelib==1.0.1
- Caffeine (MaCOS)
- Dash (MacOS)
- DBeaver
- docker-compose
- Docker
- Dropbox
- firefox
- Google Chrome
- iTerm2 (MacOS)
- Password Gorilla
- Slack
- Spotify
- Terminator (Linux)
- Visual Studio Code
- VLC
- Zeal (Linux)
- Ag (The Silver Searcher)
- asdf
- delta
- ffmpeg
- fzf
- Git
- GnuPG
- Homebrew (MacOS)
- htop
- jq
- Neovim
- ripgrep
- tig
- tree
- z
Look at bash README for more details.
Look at code editors README for more details.
Creates a Docker user group and adds the current user to it on Linux. This step
is required to avoid use of sudo for every docker command you run.
Add also the command docker-full-clean that remove everything related to
Docker. Like images, containers, cache, volumes, etc..
Look at Git role README for more details.
Look at SSH role README for more details.
Look at Terminal role README for more details.