Skip to content

chmeee/arch-laptop-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laptop configuration in Ansible

First steps

First install Archlinux base. Then:

  • pacman -S sudo
  • useradd -m <your-username> -G wheel
  • pacman -S python

If you want to perform the installation from another host, you'll need:

  • pacman -S openssh
  • systemctl start sshd
  • For convenience, copy your ssh public key to .ssh/authorized_keys

Otherwise, if you want to install from localhost, you'll need:

  • pacman -S ansible
  • Transfer this repository to your laptop

Configuration

Run main playbook

Run the main.yml playbook to configure your laptop.

TODO

  • Divide tasks in different files for different purposes
  • Create role variables to store packages and other role variables
  • Use become_user: {{ laptop_user }} instead of become: false
  • Add handlers for config files

About

Archlinux laptop configuration with Ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published