update..
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
#ansible_managed: !!str " *** [ Ansible managed file: DO NOT EDIT DIRECTLY ] ***"
|
||||||
|
|
||||||
ansible_managed: >
|
ansible_managed: >
|
||||||
*** ANSIBLE MANAGED FILE - DO NOT EDIT ***
|
*** 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 }}
|
||||||
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ network_interfaces:
|
|||||||
|
|
||||||
family: inet
|
family: inet
|
||||||
method: static
|
method: static
|
||||||
hwaddress: 9c:6b:00:51:bf:54
|
hwaddress: 9c:6b:00:2b:fe:4f
|
||||||
description:
|
description:
|
||||||
address: 176.9.62.77
|
address: 176.9.62.77
|
||||||
netmask: 27
|
netmask: 27
|
||||||
@@ -119,6 +119,98 @@ network_interfaces:
|
|||||||
gateway: 'fe80::1'
|
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
|
# vars used by roles/ansible_dependencies
|
||||||
# ---
|
# ---
|
||||||
|
|||||||
Reference in New Issue
Block a user