Update README

main
Gašper Spagnolo 2023-04-16 21:46:50 +02:00
parent 37960f82ec
commit fef57fbea1
2 changed files with 12 additions and 4 deletions

View File

@ -2,7 +2,6 @@
## Dependencies:
System:
```bash
# apt install python3 python3-pip python3-venv
```
@ -14,11 +13,19 @@ python3 -m venv .venv
source ./.venv/bin/activate
pip install -r requirements.txt
```
Ansible:
Ansible (not needed for now):
```bash
ansible-galaxy install -r requirements.yml
```
## Start
You shuold firstly specify server in the `invenvtory` file. Then start the root of repo and execute ` ansible-playbook -i inventory deploy_forcad.yml` command.
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
Then start the root of repo and execute
```bash
ansible-playbook -i inventory deploy_forcad.yml
```
command.

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
ansible==7.4.0