Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dhdcc/archlinux-ansible
Archlinux post-installation playbook.
https://github.com/dhdcc/archlinux-ansible
ansible archlinux dotfiles playbook post-installation
Last synced: 3 months ago
JSON representation
Archlinux post-installation playbook.
- Host: GitHub
- URL: https://github.com/dhdcc/archlinux-ansible
- Owner: DHDcc
- Created: 2024-09-02T21:29:29.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-25T23:11:56.000Z (4 months ago)
- Last Synced: 2024-09-26T15:04:19.422Z (4 months ago)
- Topics: ansible, archlinux, dotfiles, playbook, post-installation
- Language: Shell
- Homepage:
- Size: 52.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
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:
```
sudo pacman -S --needed 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 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 to ```false``` to avoid downloading Amd packages.### 4. Reboot
To complete the installation, reboot your system:
```
reboot
```