- Shell 88.3%
- Jinja 11.7%
| assets | ||
| host_vars | ||
| inventory | ||
| log | ||
| roles | ||
| .gitignore | ||
| ansible.cfg | ||
| main.yaml | ||
| README.md | ||
🖥️ Razer Blade Ansible Playbook
This repository contains an Ansible playbook designed to set up and manage the configuration of a Razer Blade 15 Advanced 2019 with a minimal Debian netinstall. The playbook automates the installation and configuration of essential tools, software, and drivers required for optimal performance.
📁 Project Structure
- assets/: Contains media used in the playbook (images, gifs, etc.)
- host_vars/: Stores host-specific variables.
- inventory/: Defines the hosts to run the playbook on.
- log/: Location for logging playbook runs.
- roles/: Each role represents a specific task or set of tasks.
- README.md: This file.
📦 Roles Overview
Below is a description of each role and its purpose in the playbook. Click on the role name to navigate to its directory:
| Role | Description |
|---|---|
| alacritty | Configures the Alacritty terminal emulator, including its settings. |
| devops | Installs DevOps tools like Docker, kubectl, k9s, and Minikube. |
| feh | Sets up the wallpaper manager feh. |
| firefox | Configures the Firefox browser with necessary settings. |
| i3 | Installs and configures the i3 window manager, including custom keybindings. |
| libinput | Manages touchpad and gesture settings using libinput-gestures. |
| modules | Configures additional kernel modules needed for the system. |
| nvidia | Installs Nvidia drivers and manages external display configurations. |
| ollama | Pulls and sets up Ollama models. |
| openrgb | Copies OpenRGB configuration to restore RGB settings. |
| packages | Installs essential packages like zip, unzip, and others. |
| picom | Sets up Picom for window transparency and compositing. |
| pipewire | Configures the Pipewire audio server. |
| preflight | Prepares the system by installing necessary headers and setting up directories. |
| razer | Manages Razer-specific configurations. |
| rofi | Sets up the Rofi application launcher. |
| ssh | Configures SSH for secure remote connections. |
| steam | Installs and configures Steam for gaming. |
| telegram | Sets up Telegram desktop client. |
| tweaks | Applies additional system tweaks. |
| vscode | Configures Visual Studio Code with extensions and settings. |
| zsh | Installs and configures Zsh and Prezto. |
🛠️ How to Run
To use this playbook, ensure you have Ansible and Python installed, then execute the following steps:
# Clone the repository
git clone https://github.com/code-hartle-tech/ansible-razerblade.git
# Navigate to the playbook directory
cd ansible-razerblade
# Run the playbook
ansible-playbook main.yaml --inventory=inventory/hosts.yaml --ask-become-pass --limit=local
🎨 Gallery
Here are some screenshots showcasing the configuration in action:
| i3 | Firefox / Warp |
|---|---|
![]() |
![]() |
| Yazi | Cursor |
![]() |
![]() |
🌐 References
🤝 Contributing
Feel free to submit issues or pull requests to improve this playbook. Contributions are welcome!
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -m "Add new feature"). - Push to the branch (
git push origin feature-branch). - Open a pull request.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.



