https://github.com/dhdcc/archlinux-ansible
Archlinux post-installation playbooks.
https://github.com/dhdcc/archlinux-ansible
ansible archlinux dotfiles playbook post-installation
Last synced: 5 months ago
JSON representation
Archlinux post-installation playbooks.
- Host: GitHub
- URL: https://github.com/dhdcc/archlinux-ansible
- Owner: DHDcc
- Created: 2024-09-02T21:29:29.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-01-28T16:30:27.000Z (6 months ago)
- Last Synced: 2025-01-28T17:29:56.292Z (6 months ago)
- Topics: ansible, archlinux, dotfiles, playbook, post-installation
- Language: Shell
- Homepage:
- Size: 116 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible playbook: Archlinux post-installation
This playbook will install my [dotfiles](https://github.com/DHDcc/MyHyprland) 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 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 | false
> |tweaks |apply tweaks for your system* | boolean |false
> |gaming_packages|install all necessary packages for gaming | boolean | false
> |firewall|install ufw and set some rules | boolean | false
> |extra|install extra packages| boolean | false
>
> *check the [playbook](https://github.com/DHDcc/archlinux-ansible/blob/main/ansible/tweaks/main.yml) 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
```