2023-11-29 17:55:48 +01:00
|
|
|
# Complete install of my home server, originally running on Olimex's Lime2
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
### Testing
|
|
|
|
|
2024-01-04 18:59:34 +01:00
|
|
|
#### *-test
|
2023-11-29 17:55:48 +01:00
|
|
|
|
2024-01-04 18:59:34 +01:00
|
|
|
Each machine from the inventory has a *-test variant defined in Vagrantfile for tests.
|
2023-11-29 17:55:48 +01:00
|
|
|
To connect, we need to tell Ansible the connection details:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
vagrant ssh-config > ssh_config
|
|
|
|
```
|
|
|
|
|
|
|
|
We can now run tasks on the test machine:
|
|
|
|
|
|
|
|
```bash
|
2024-10-06 11:37:28 +02:00
|
|
|
ansible-playbook playbooks/lime2.yml -t forgejo -l lime2-test
|
2023-11-29 17:55:48 +01:00
|
|
|
```
|