diff --git a/group_vars/all/main.yml b/group_vars/all/main.yml index 9270a1b..6e9e432 100644 --- a/group_vars/all/main.yml +++ b/group_vars/all/main.yml @@ -1,9 +1,12 @@ --- +#ansible_managed: !!str " *** [ Ansible managed file: DO NOT EDIT DIRECTLY ] ***" + ansible_managed: > *** ANSIBLE MANAGED FILE - DO NOT EDIT *** - This file was generated by {{ ansible_user_id }} on {{ ansible_date_time.iso8601 }} + +# This file was generated by {{ ansible_user_id }} on {{ ansible_date_time.iso8601 }} # --- diff --git a/host_vars/o43.oopen.de.yml b/host_vars/o43.oopen.de.yml index f8a9b34..b7be8e0 100644 --- a/host_vars/o43.oopen.de.yml +++ b/host_vars/o43.oopen.de.yml @@ -32,7 +32,7 @@ network_interfaces: family: inet method: static - hwaddress: 9c:6b:00:51:bf:54 + hwaddress: 9c:6b:00:2b:fe:4f description: address: 176.9.62.77 netmask: 27 @@ -119,6 +119,98 @@ network_interfaces: gateway: 'fe80::1' + - device: br1 + # use only once per device (for the first device entry) + headline: br1 - bridge over device enp6s0.4001 + + # auto & allow are only used for the first device entry + allow: [] # array of allow-[stanzas] eg. allow-hotplug + auto: true + + family: inet + method: static + hwaddress: 9c:6b:00:2b:fe:50 + description: + address: 172.20.1.10 + netmask: 24 + gateway: + metric: + pointopoint: + mtu: + scope: + + # additional user by dhcp method + # + hostname: + leasehours: + leasetime: + vendor: + client: + + # additional used by bootp method + # + bootfile: + server: + hwaddr: + + # optional dns settings nameservers: [] + # + # nameservers: + # - 194.150.168.168 # dns.as250.net + # - 91.239.100.100 # anycast.censurfridns.dk + # search: warenform.de + # + # ** MOVED TO systemd-resolved + # + nameservers: + search: + + # optional bridge parameters bridge: {} + # bridge: + # ports: + # stp: + # fd: + # maxwait: + # waitport: + bridge: + ports: enp6s0.4001 # for mor devices support a blank separated list + stp: !!str off + fd: 5 + hello: 2 + maxage: 12 + + # optional bonding parameters bond: {} + # bond: + # master + # primary + # slave + # method: + # miimon: + # lacp-rate: + # ad-select-rate: + # master: + # slaves: + bond: {} + + # optional vlan settings | vlan: {} + # vlan: {} + # raw-device: 'eth0' + vlan: {} + + # inline hook scripts + #pre-up: [] # pre-up script lines + pre-up: + - /sbin/ip link add link enp6s0 name enp6s0.4001 type vlan id 4001 + - /sbin/ip link set enp6s0.4001 mtu 1400 + up: [] # up script lines + #post-up: [] # post-up script lines (alias for up) + post-up: # post-up script lines (alias for up) + - /sbin/ip route add 172.20.0.0/21 via 172.20.1.1 + pre-down: [] # pre-down script lines (alias for down) + down: [] # down script lines + post-down: [] # post-down script lines + + # --- # vars used by roles/ansible_dependencies # ---