mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Pi-hole - install requisites and clone Pi-hole repo
This commit is contained in:
parent
4f7f14de12
commit
dee9ffba3f
@ -12,6 +12,7 @@
|
||||
- repl: 'https://'
|
||||
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
||||
|
||||
|
||||
{% set IP = salt['cmd.shell']('qubesdb-read /qubes-ip') %}
|
||||
{% set GW = salt['cmd.shell']('qubesdb-read /qubes-gateway') %}
|
||||
|
||||
@ -45,4 +46,34 @@ Pihole_update:
|
||||
pkg.uptodate:
|
||||
- refresh: True
|
||||
|
||||
Pihole_installed:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- qubes-core-agent-networking
|
||||
- qubes-core-agent-passwordless-root
|
||||
- curl
|
||||
- dnsutils
|
||||
- firefox-esr
|
||||
- git
|
||||
- idn2
|
||||
- lighttpd
|
||||
- netcat-openbsd
|
||||
- php-cgi
|
||||
- php-common
|
||||
- php-intl
|
||||
- php-json
|
||||
- php-sqlite3
|
||||
- php-xml
|
||||
- unzip
|
||||
|
||||
Pihole-systemd-mask:
|
||||
cmd.run:
|
||||
- name: systemctl disable systemd-resolved
|
||||
|
||||
https://github.com/pi-hole/pi-hole.git:
|
||||
git.latest:
|
||||
- name: https://github.com/pi-hole/pi-hole.git
|
||||
- user: root
|
||||
- target: /root/pi-hole
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user