Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/st0rmingbr4in/config_ansible
- Owner: St0rmingBr4in
- Created: 2019-05-22T14:52:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-24T22:41:45.000Z (about 3 years ago)
- Last Synced: 2023-03-05T08:28:38.290Z (over 1 year ago)
- Topics: ansible, arch-linux, ci, docker, yamllint
- Language: Shell
- Homepage:
- Size: 454 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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