From fef57fbea1b9b68fc475898f4463e62693861f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Spagnolo?= Date: Sun, 16 Apr 2023 21:46:50 +0200 Subject: [PATCH] Update README --- README.md | 15 +++++++++++---- requirements.txt | 1 + 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 006da26..66869ec 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +## 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 + +Then start the root of repo and execute +```bash +ansible-playbook -i inventory deploy_forcad.yml +``` +command. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b2144a9 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +ansible==7.4.0