ddvic-server/README.md

31 lines
683 B
Markdown
Raw Normal View History

2023-04-16 21:42:35 +02:00
# Ddvic server playbooks
## Dependencies:
System:
```bash
# apt install python3 python3-pip python3-venv
```
Python:
```bash
python3 -m venv .venv
source ./.venv/bin/activate
pip install -r requirements.txt
```
Ansible (not needed for now):
2023-04-16 21:42:35 +02:00
```bash
ansible-galaxy install -r requirements.yml
```
2023-04-16 21:46:50 +02:00
## Start
Files:
- `./playbooks/files/wireguard/de.conf` - Wireguard config should be placed here before running the playbook (basically the peer file for the wireguard).
- `inventory` - Should be checked if the host is correct one, also the pubkey should be included.
2023-04-16 21:46:50 +02:00
Then start the root of repo and execute
```bash
ansible-playbook -i inventory deploy_forcad.yml
```
command.