-
Clone Ubuntu base VM
-
Assign IP to the new machine (read MAC at assign using DHCP)
-
Add the ip to ansible
[dns]
group, in the file/etc/ansible/hosts
-
Login with default username and password
-
Enble SSH auth via password to allow first ansible login
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes' /etc/ssh/sshf_config
-
Restart
-
From ansible controller, check
ansible dns -m ping
Last active
August 11, 2018 20:35
-
-
Save realtebo/5aa81af051f19428b7e2b3a006c82670 to your computer and use it in GitHub Desktop.
Add a new PiHole
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment