https://github.com/alexandrecarlton/ansible-archlinux
Ansible playbook for my ArchLinux setup.
https://github.com/alexandrecarlton/ansible-archlinux
ansible arch-linux playbook
Last synced: 3 months ago
JSON representation
Ansible playbook for my ArchLinux setup.
- Host: GitHub
- URL: https://github.com/alexandrecarlton/ansible-archlinux
- Owner: AlexandreCarlton
- Created: 2016-08-21T11:46:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T19:38:23.000Z (5 months ago)
- Last Synced: 2025-02-28T05:57:36.449Z (3 months ago)
- Topics: ansible, arch-linux, playbook
- Language: Makefile
- Size: 236 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible-archlinux

Reproduces my machine (ArchLinux) from scratch so I can re-deploy to new machines.
```bash
ansible-playbook lenovo-e420.yml --ask-become-pass
```Several roles also come with their own documentation:
- [`bluetooth`](roles/bluetooth)
- [`optimus`](roles/optimus)
- [`snapper`](roles/snapper)
- [`thinkpad`](roles/thinkpad)# Testing
This uses [Molecule](https://molecule.readthedocs.io/) to test this play as
much as possible within the confines of Docker. Notably, we can't use this to
test:- btrfs manipulation (e.g. snapper)
- systemd manipulationThis is signified by excluding these roles from being tested, or tagging these
tasks with `notest`.To test it, run:
./run-test.sh
This will spawn a `molecule_pacman_cache` Docker volume to speed up re-runs.