Update README
parent
37960f82ec
commit
fef57fbea1
15
README.md
15
README.md
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
## Dependencies:
|
## Dependencies:
|
||||||
System:
|
System:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# apt install python3 python3-pip python3-venv
|
# apt install python3 python3-pip python3-venv
|
||||||
```
|
```
|
||||||
|
@ -14,11 +13,19 @@ python3 -m venv .venv
|
||||||
source ./.venv/bin/activate
|
source ./.venv/bin/activate
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
Ansible:
|
Ansible (not needed for now):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ansible-galaxy install -r requirements.yml
|
ansible-galaxy install -r requirements.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Start
|
## 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.
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
ansible==7.4.0
|
Loading…
Reference in New Issue