This playbook will install my dotfiles and other packages you probably want.
[!CAUTION] I'm new to Ansible and IaC (Infrastructure as Code) in general, so there may be some errors or unexpected behaviors. Please feel free to suggest improvements.
Install the necessary dependencies:
sudo pacman -S --needed base-devel ansible python-psutil git
Clone the git repository:
git clone https://github.com/DHDcc/archlinux-ansible.git
Install the required collection using the requirements
file, then run the playbook:
cd archlinux-ansible/ansible
ansible-galaxy collection install -r requirements.yml
ansible-playbook --ask-become-pass playbook.yml
[!TIP] you can disable/enable some options by editing
archlinux-ansible/ansible/group_vars/all/options.yml
.Example:
aur_helper: name: "paru" # Pick your favorite aur helper. binary: true
[!NOTE]
If you're using a Nvidia gpu, you need to set the
amdgpu
option tofalse
to avoid downloading Amd packages.
To complete the installation, reboot your system:
reboot