Closed cwille97 closed 8 months ago
@geerlingguy Would love to get a review on this so that we can fix the main setup here for anybody coming with a fresh Pi OS installation 🚀
I highly recommend using pip
to install Ansible instead of apt
. The maintenance of the Debian ansible repositories has been hit or miss over the years, and Pip is the source of truth for a full ansible
install.
The better solution will be to follow this guide and get Debian to not be so persnickety.
@geerlingguy That makes sense, thanks for sharing. I'll try and push an update to the PR if I find time.
This PR primarily intends to fix a problem that was introduced in Debian Bookworm, which broke the Ansible playbook. While setting this up on a Pi with the latest image, I was able to troubleshoot the
pip
dependency issues and replace them withapt
. Additionally, my Pi did not haveresolvconf
installed which caused Ansible to blow up, so I added that to the Debian dependencies, and also used Ansible to create theresolvconf.conf
file if it does not exist. Finally, I made a few tweaks in the README to fix a typo, reflect the current admin portal for Pihole, and update the setup instructions to fix thepip
issue.Note
resolvconf
to thepacman
dependencies, although it may need to be added there as well. It looks like Arch / pacman has docker-compose too