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: 8 months 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 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-27T13:30:39.000Z (over 5 years ago)
- Last Synced: 2025-07-11T07:59:33.326Z (11 months ago)
- Topics: ansible-playbook, arch, archlinux, automation
- Homepage:
- Size: 32.2 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible-arch
[](https://github.com/XAMPPRocky/tokei)
[](https://github.com/XAMPPRocky/tokei)
[](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
```