diff options
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ele-router-hmtsaal.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inventory/host_vars/ele-router-hmtsaal.yml b/inventory/host_vars/ele-router-hmtsaal.yml index 8a128304..e10abad8 100644 --- a/inventory/host_vars/ele-router-hmtsaal.yml +++ b/inventory/host_vars/ele-router-hmtsaal.yml @@ -98,6 +98,8 @@ openwrt_dhcp_base: resolvfile: '/tmp/resolv.conf.auto' localservice: '1' server: "{{ network_zones.cc_hmtsaal.dns }}" + addnhosts: + - '/etc/hosts.extra' - name: odhcpd 'odhcpd' options: @@ -153,6 +155,10 @@ openwrt_mixin: /etc/htoprc: file: "{{ global_files_dir }}/common/htoprc" + /etc/hosts.extra: + content: | + {{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets['ele-media']) | ansible.utils.ipaddr('address') }} media.elevate.at + /etc/rc.d/S21nftables: link: "../init.d/nftables" |