For now, only works with remote servers using Oracle Linux 8
I prefer installing ansible with pip, but you can try other options.
sudo apt install python3-pippython -m pip install --user ansibleansible-galaxy collection install community.general
ansible-galaxy collection install containers.podman
ansible-galaxy collection install ansible.posixFirst of all, make sure your ssh key is added in a running ssh-agent. Otherwise, you might be prompted to type your passphrase more than often.
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsaCreate a file named host and don't forget to replace SERVER-IP and USERNAME.
[remotehost]
SERVER-IP
[remotehost:vars]
ansible_ssh_user=USERNAME
ansible_ssh_private_key_file=~/.ssh/id_rsaansible-playbook -i host main.ymlansible-playbook -i SERVER-IP, -u USERNAME main.ymlComma is not a typo!
You can use any of the peer configs in peers folder created in the same directory as where you run ansible-playground.
To connect to your vpn server:
- Import
peerN.conffor WireGuard desktop client. - Scan
peerN.pngfor the mobile app.
When connected to vpn, pihole web interface is accesible through http://10.2.0.100/
Login password for pihole web interface is saved in credentials/pihole file.