configurations-ansible/roles/pi-hole/README.md

43 lines
1 KiB
Markdown
Raw Normal View History

2022-11-21 17:40:47 +01:00
pi-hole
=========
2022-11-21 17:40:47 +01:00
This role setup minimal requirements for pi-hole setup but actually cannot install pi-hole for you. In addition setup firewall for you; can install custom list directly in the Database or update DNS Database List
Requirements
------------
2022-11-21 17:40:47 +01:00
.
Role Variables
--------------
- **pihole_custom_list** (array): Array of URLs that can be installed as DNS lists. **Actually doesn't clean old lists before install!**
- **pihole_install_custom_list**: If present will install custom list into the pi-hole database
Role Tags
--------------
- **global.update_only**: `pihole -up`
- **pihole.update_gravity**: If present the dns database will be updated (`pihole updateGravity`)
Dependencies
------------
- curl
- sqlite3 required by `pihole.install_custom_list`
Example Playbook
----------------
`ansible-playbook -i inventory/example.yml handbook.yml --extra-vars="target=example_target" --tags dns_filter`
License
-------
2022-11-21 17:40:47 +01:00
GPLv3
Author Information
------------------
2022-11-21 17:40:47 +01:00
- [Claudio Maradonna](https://social.unitoo.it/claudio)