Go to file
Gašper Spagnolo e6826fad67 Update ansible config and add homeassistant setup 2023-04-16 22:13:49 +02:00
playbooks Update ansible config and add homeassistant setup 2023-04-16 22:13:49 +02:00
vars Add docker and wireguard 2023-04-16 21:42:35 +02:00
.gitignore Update ansible config and add homeassistant setup 2023-04-16 22:13:49 +02:00
README.md Update ansible config and add homeassistant setup 2023-04-16 22:13:49 +02:00
ansible.cfg Update ansible config and add homeassistant setup 2023-04-16 22:13:49 +02:00
inventory Add docker and wireguard 2023-04-16 21:42:35 +02:00
main.yml Update ansible config and add homeassistant setup 2023-04-16 22:13:49 +02:00
requirements.txt Update README 2023-04-16 21:46:50 +02:00

README.md

Ddvic server playbooks

Dependencies:

System:

# apt install python3 python3-pip python3-venv

Python:

python3 -m venv .venv
source ./.venv/bin/activate
pip install -r requirements.txt

Ansible (not needed for now):

ansible-galaxy install -r requirements.yml

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

ansible-playbook -i inventory deploy_forcad.yml

command.