17 lines
459 B
Markdown
17 lines
459 B
Markdown
# Setup guide
|
|
|
|
## Get a VPS with Arch Linux OS
|
|
- We are using [Hostinger](https://hostinger.com)
|
|
- Find it's IP in the Hostinger Dashboard
|
|
|
|
## Initial Setup
|
|
- Test manual sign in: ```ssh root@<VPS_IP>```
|
|
- Copy SSH key:
|
|
```bash
|
|
# From Workstation
|
|
ssh-copy-id -i ~/.ssh/id_ed25519.pub root@<VPS_IP>
|
|
```
|
|
- Add host to Ansible inventory
|
|
- Test connection `ansible -i inventory/hosts.yml arch-vps -m ping`
|
|
- ```ansible-playbook -i inventory/hosts/yml site.yml```
|