Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mayniklas/ansible-arch
General ansible-playbook for provisioning a new archlinux workstation - post install
https://github.com/mayniklas/ansible-arch
ansible-playbook arch archlinux automation
Last synced: about 11 hours ago
JSON representation
General ansible-playbook for provisioning a new archlinux workstation - post install
- Host: GitHub
- URL: https://github.com/mayniklas/ansible-arch
- Owner: MayNiklas
- Created: 2020-10-26T14:02:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-27T13:30:39.000Z (about 4 years ago)
- Last Synced: 2024-12-17T00:36:51.160Z (about 2 months ago)
- Topics: ansible-playbook, arch, archlinux, automation
- Homepage:
- Size: 32.2 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible-arch
[![Lines Of Code](https://tokei.rs/b1/github/MayNiklas/ansible-arch?category=lines)](https://github.com/XAMPPRocky/tokei)
[![Lines Of Code](https://tokei.rs/b1/github/MayNiklas/ansible-arch?category=code)](https://github.com/XAMPPRocky/tokei)
[![Lines Of Code](https://tokei.rs/b1/github/MayNiklas/ansible-arch?category=files)](https://github.com/XAMPPRocky/tokei)### Intro
This ansible-playbook is being used for installing Arch Linux on a new computer. Please make sure, that you understand the underlaying roles and what they do before following my quickstart guide. I am NOT responsible to anything that might happen by executing my ansible roles. Generally speaking I want to remind you: doing regular proper backups is a great idea!### Post install
My arch install is splitted into "pre and postinstall" ansible-playbooks.
There is a second playbook I'm using to install arch from the live-iso:
[ansible-arch-install](https://github.com/MayNiklas/ansible-arch-install.git)### Roles used
- [ansible-pacman](https://github.com/MayNiklas/ansible-pacman.git)
- [ansible-arch-keyserver](https://github.com/MayNiklas/ansible-arch-keyserver.git)
- [ansible-arch-xorg](https://github.com/MayNiklas/ansible-arch-xorg.git)
- [ansible-kde-plasma](https://github.com/MayNiklas/ansible-kde-plasma.git)
- [ansible-ssh](https://github.com/MayNiklas/ansible-ssh.git)
- [ansible-ssh-server](https://github.com/MayNiklas/ansible-ssh-server.git)
- [ansible-git](https://github.com/MayNiklas/ansible-git.git)
- [ansible-docker](https://github.com/MayNiklas/ansible-docker.git)
- [ansible-arch-bluetooth-keyboard](https://github.com/MayNiklas/ansible-arch-bluetooth-keyboard.git)
- [ansible-hostname](https://github.com/MayNiklas/ansible-hostname.git)
- [ansible-ufw](https://github.com/MayNiklas/ansible-ufw.git)### Role Variables:
To be set in group_vars OR host_vars| Variable | Description | Default |
|----------------|----------------------------------------------|---------|
|`todo`| todo | `todo` |### Quick start
0. Make sure ansible is installed:
```bash
sudo pacman -S ansible
```
1. To install all the roles needed at the same time with one command, run the following:
```bash
ansible-galaxy install -r requirements.yml
```
2. Insert variables to your own liking:
```bash
vim host_vars/localhost.yml
```
3. execute the playbook
```bash
ansible-playbook site.yml
```