13 lines
288 B
YAML
13 lines
288 B
YAML
---
|
|
- name: replace pi.hole hostname
|
|
become: true
|
|
ansible.builtin.replace:
|
|
path: "{{ item }}"
|
|
regexp: "pi\\.hole"
|
|
replace: "pi.bdebyl.net"
|
|
with_items:
|
|
- /srv/http/pihole/admin/scripts/pi-hole/php/auth.php
|
|
- /srv/http/pihole/pihole/index.php
|
|
tags:
|
|
- pihole
|