/ansible-arch-setup

Handy setup role for my arch

MIT LicenseMIT

Arch linux ansible setup

My personal barebones setup script for a fresh Arch linux. This is meant as a replacement for the "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:

enable_gui: false

Warnings

The user will have a hardcoded password linux if unchanged. Please change this ASAP after using this role.

Example playbook

---
- name: test playbook
  hosts: general

  roles:
  - role: ansible-arch-setup