We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764920a commit add88abCopy full SHA for add88ab
defaults/main.yml
@@ -3,6 +3,10 @@
3
pihole_required_packages:
4
- procps
5
6
+pihole_password: pihole
7
+
8
+pihole_force_reinstall: false
9
10
## Lighttpd config
11
pihole_lighttpd_port: 80
12
@@ -16,5 +20,3 @@ pihole_query_logging: true
16
20
pihole_web_server: true
17
21
pihole_web_interface: true
18
22
pihole_lighttpd_enabled: true
19
-
-pihole_force_reinstall: false
tasks/config.yml
@@ -6,3 +6,7 @@
dest: /etc/lighttpd/lighttpd.conf
notify: restart pihole_lighttpd
when: pihole_web_server
+- name: Pi-hole | Set password
+ command: "pihole -a -p {{ pihole_password }}"
+ when: pihole_password | length > 0
0 commit comments