https://github.com/imrein/ansible-arch-setup
Handy setup role for my arch
https://github.com/imrein/ansible-arch-setup
ansible ansible-role archlinux qol
Last synced: about 2 months ago
JSON representation
Handy setup role for my arch
- Host: GitHub
- URL: https://github.com/imrein/ansible-arch-setup
- Owner: imrein
- License: mit
- Created: 2022-12-21T13:41:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T12:41:23.000Z (over 1 year ago)
- Last Synced: 2025-10-17T10:54:50.563Z (5 months ago)
- Topics: ansible, ansible-role, archlinux, qol
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arch linux ansible setup
My personal barebones setup script for a fresh Arch linux. This is meant as a replacement for the ["Post Installation"](https://wiki.archlinux.org/title/installation_guide#Post-installation) part of the installation.
## Requirements
A raw installation of Arch Linux with:
- `openssh`
- `python3`
## Role Variables
The variables are defined in `defaults/main.yml`. These should be configured as needed:
| Variable | Default | Info |
| :---------------- | :------------ | :------------------------------------------------ |
| `arch_hostname` | `test` | Hostname of the system |
| `arch_user` | `rein` | User that will be created |
| `arch_user_pw` | `linux` | Password that will be prompted to change on login |
| `arch_groups` | `[]` | Groups the new user should be added to |
| `packages_setup` | `[]` | General packages that should be installed |
| `packages_gui` | `[]` | GUI packages that should be installed |
There is also a default option that will install a GUI (KDE-plasma) with my used software.
This can be disabled:
```yml
enable_gui: false
```
## Warnings
The user will have a hardcoded password `linux` if unchanged.
**Please change this ASAP after using this role.**
## Example playbook
```yml
---
- name: test playbook
hosts: general
roles:
- role: ansible-arch-setup
```