Parameterize most of the LAN config

So that it adapts to e.g. 192.168.50/24 instead of 192.168.0/24
This commit is contained in:
Jukka Nousiainen 2021-07-25 00:29:25 +03:00 committed by Andreas B. Mundt
parent 53b54edd18
commit 1a9b3ba2e6
5 changed files with 21 additions and 8 deletions

View file

@ -42,7 +42,7 @@
dest: "/etc/bind/{{ item }}"
loop:
- db.intern
- db.192.168.0
- db.lan
- localzones
notify: restart bind
@ -53,7 +53,7 @@
state: link
loop:
- db.intern
- db.192.168.0
- db.lan
notify: restart bind
- name: enable local bind config