From 19ae69b93ca66e1aa52e1d8144a97b74488fa1cc Mon Sep 17 00:00:00 2001 From: Esten Rye Date: Sat, 22 Oct 2022 10:37:54 -0500 Subject: [PATCH] add pihole install --- ansible/playbooks/tools.rye.ninja/inventory.yml | 2 ++ ansible/playbooks/tools.rye.ninja/playbook.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/ansible/playbooks/tools.rye.ninja/inventory.yml b/ansible/playbooks/tools.rye.ninja/inventory.yml index d58e3464..5a62bfe1 100644 --- a/ansible/playbooks/tools.rye.ninja/inventory.yml +++ b/ansible/playbooks/tools.rye.ninja/inventory.yml @@ -67,3 +67,5 @@ tools_server: - label: smallstep_root_certificate key_type: rsa:2048 nitrokey_hsm_export_certificates: false + pihole_web_password: "{{ pihole_web_password_value | default(lookup('ansible.builtin.password', 'tmp/pihole_web_password chars=ascii_letters,digits length=32')) }}" + pihole_ipv4_address: 10.5.7.2 diff --git a/ansible/playbooks/tools.rye.ninja/playbook.yml b/ansible/playbooks/tools.rye.ninja/playbook.yml index 965c436c..7383a242 100644 --- a/ansible/playbooks/tools.rye.ninja/playbook.yml +++ b/ansible/playbooks/tools.rye.ninja/playbook.yml @@ -91,6 +91,7 @@ - keepalived - shoelaces - tftp + - pihole tags: tftp