Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/st0rmingbr4in/config_ansible

Installation and configuration of my PCs running Arch linux using ansible
https://github.com/st0rmingbr4in/config_ansible

ansible arch-linux ci docker yamllint

Last synced: 3 days ago
JSON representation

Installation and configuration of my PCs running Arch linux using ansible

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.com/St0rmingBr4in/config_ansible.svg?branch=master)](https://travis-ci.com/St0rmingBr4in/config_ansible)

# Configuration of my PCs running Arch linux using ansible

## Adding a new PC

* Create a host_vars file for the new PC
* Add it to `[laptop]`, `[desktop]` or `[only_confs]` in the `hosts` file
* Run `ansible-playbook --diff playbooks/config.yml -l `

## Installing from USB live

You can run the playbook `playbooks/install.yml` from the live USB, it will install Arch linux with the following configuration:
* LVM on LUKS
* systemdboot as bootloader
* intel-ucode if applicable

## CI code sanity checks

* The CI checks the code using `ansible-lint` and `yaml-lint`
* The CI runs the ansible playbook inside a docker container to check for issues when running the playbook in an unconfigured environment