/adguard_ansible

Ansible scripts to deploying Adguard Home on single board computers

Primary LanguagePythonMIT LicenseMIT

Ansible scripts for install Adguard Home

Installation

This application requires you have a Python interpreter installed.

Create a virtual environment

python -m venv --prompt adguard-ansible .venv

Install ansible

.venv/bin/pip install -U pip -r requirements.txt

Rock 4 SE

Preparation

Some preparation is required before you can run the ansible script, namely:

  • You will need to update sudoers
  • You will need to connect the device to your network

Boot the device and login with the default username and password:

  • username: radxa
  • password: radxa

Create the appropriate sudoers entry

sudo sh -c 'echo "radxa ALL=(ALL)   NOPASSWD: ALL" > /etc/sudoers.d/sudoers'

Connect to your network

sudo nmcli dev wifi connect <SSID> --ask

You should now be able to SSH into the device.

ssh-copy-id -i ~/.ssh/id_rsa.pub radxa@<device ip>
ssh radxa@<device ip>

Running the playbook

,runplay -i <device ip> -p play_rockpi_deb.yml

After the playbook has run you can configure Adguard Home by visting http://adguard.local:3000/.