Skip to content

DHDcc/archlinux-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Ansible playbook: Archlinux post-installation

This playbook will install my dotfiles and other packages you probably want.

Installation

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.

1. Dependencies

Install the necessary dependencies:

# pacman -S base-devel ansible python-psutil git

2. Get the repository

Clone the git repository:

$ git clone https://github.com/DHDcc/archlinux-ansible.git

3. Run the playbook

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 playbooks.yml

Tip

you can disable/enable some options by editing ~/archlinux-ansible/ansible/group_vars/all/options.yml.

Options:
name description type default
amdgpu install packages for AMD’s gpu boolean false
aur_helper.name pick your favorite AUR helper string paru
aur_helper.git compile the helper from the latest github commits boolean false
hypervisor install Qemu and VirtManager boolean true
tweaks apply tweaks for your system* boolean false
gaming_packages install all necessary packages for gaming boolean true
firewall install ufw and set some rules boolean true
extra install extra packages boolean false

*check the playbook before enabling this option.

Note

If you're using an Nvidia GPU, you will need to download the drivers manually.

4. Reboot

To complete the installation, reboot your system:

# reboot

Releases

No releases published

Packages

No packages published

Languages