Skip to content

Ansible playbook and roles for bootstrapping a fresh Arch install.

Notifications You must be signed in to change notification settings

yuri-moens/ansible-arch-bootstrap

Repository files navigation

Arch bootstrap

This is an Ansible playbook to bootstrap a fresh Arch install. This should be run after either following my quick guide or the Arch wiki installation guide.

Configuring

Configuration is done in the group_vars/all file. The user password should be encrypted using Ansible vault.

Put your SSH private and public keys under files/ssh/private and files/ssh/public

Running

Install required roles

ansible-galaxy install -r requirements.yml

Create user

This playbook should be run as root.

ansible-playbook user.yml

Run playbook

This playbook should be run as your normal user.

ansible-playbook playbook.yml

Developing

Create a new role

cd roles
ansible-galaxy init --role-skeleton skeleton <role name>

Run Ansible linter

ansible-lint -p playbook.yml roles

About

Ansible playbook and roles for bootstrapping a fresh Arch install.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published