croissong / ansible-arch-linux

Ansible playbook for provisioning Arch Linux [in progress]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-arch-linux

A set of Ansible playbooks for provisioning Arch Linux.

Inspired by: https://github.com/pigmonkey/spark

Usage

  1. Download and verify latest ArchLinux ISO:
make iso
  1. Write the ISO image to a USB flash drive:
dd bs=4M if=archlinux-$VERSION-dual.iso of=/dev/sdX status=progress && sync
  1. Boot into ArchLinux Live CD.

  2. Download and decompress playbook from GitHub:

curl -L https://github.com/zoresvit/ansible-arch-linux/archive/master.tar.gz | tar -xz
cd zoresvit-ansible-arch-linux
  1. Install Ansible and passlib (for hashing password):
pacman -Sy ansible python2-passlib
  1. Run Ansible to provision base system:
ansible-playbook -i localhost install.yml
  1. After the reboot login into the new system and run Ansible to install and configure full-featured Arch Linux:
ansible-playbook --ask-become-pass -i localhost config.yml

Notes

Generating SSH key:

   ssh-keygen -t ed25519 -C "${USER}@${HOSTNAME}-$(date -I)"

About

Ansible playbook for provisioning Arch Linux [in progress]

License:GNU General Public License v3.0


Languages

Language:Python 82.8%Language:Shell 12.4%Language:Makefile 4.1%Language:CSS 0.7%