My personal barebones setup script for a fresh Arch linux. This is meant as a replacement for the "Post Installation" part of the installation.
A raw installation of Arch Linux with:
openssh
python3
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:
enable_gui: false
The user will have a hardcoded password linux
if unchanged.
Please change this ASAP after using this role.
---
- name: test playbook
hosts: general
roles:
- role: ansible-arch-setup