2021-12-11 21:50:43 +00:00
|
|
|
# linux_ws2122 - Ansible
|
2021-12-11 21:46:32 +00:00
|
|
|
|
|
|
|
Setup gateway and client vm via ansible.
|
|
|
|
|
2021-12-11 22:00:38 +00:00
|
|
|
- Adapt IP-Addresses of the client and gateway VM in `host_vars`.
|
|
|
|
- Adapt name of the interfaces for booth VMs in `host_vars`.
|
2021-12-11 21:46:32 +00:00
|
|
|
- Configure your Router (Fritz!Box, SpeedPort, ect) to route traffic for
|
2021-12-11 22:00:38 +00:00
|
|
|
`192.168.181.0/24` via `gateway`.
|
|
|
|
- Restart VMs after running the playbook
|
2021-12-11 21:46:32 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
ansible-playbook -i hosts.yaml gateway.linuxws2122.de.yaml
|
|
|
|
ansible-playbook -i hosts.yaml client.linuxws2122.de.yaml
|
|
|
|
```
|