update..
This commit is contained in:
@ -1,5 +1,100 @@
|
||||
---
|
||||
|
||||
# ---
|
||||
# vars used by roles/network_interfaces
|
||||
# ---
|
||||
|
||||
|
||||
# If true, all additional files in /etc/network/interfaces/interfaces.d/ are deleted
|
||||
network_manage_devices: True
|
||||
|
||||
# Should the interfaces be reloaded after config change?
|
||||
network_interface_reload: False
|
||||
|
||||
network_interface_path: /etc/network/interfaces.d
|
||||
network_interface_required_packages:
|
||||
- vlan
|
||||
- bridge-utils
|
||||
- ifmetric
|
||||
- ifupdown2
|
||||
|
||||
|
||||
network_interfaces:
|
||||
|
||||
- device: br0
|
||||
# use only once per device (for the first device entry)
|
||||
headline: br0 - bridge over device enp41s0
|
||||
|
||||
# auto & allow are only used for the first device entry
|
||||
allow: [] # array of allow-[stanzas] eg. allow-hotplug
|
||||
auto: true
|
||||
|
||||
family: inet
|
||||
mode: static
|
||||
description: Bridge Interface IPv4 for LXC
|
||||
address: '162.55.82.89'
|
||||
netmask: '255.255.255.192'
|
||||
network: '162.55.82.64'
|
||||
broadcast: '162.55.82.127'
|
||||
gateway: '162.55.82.65'
|
||||
|
||||
# optional dns settings nameservers: []
|
||||
# nameservers:
|
||||
# - "194.150.168.168" # dns.as250.net
|
||||
# - "91.239.100.100" # anycast.censurfridns.dk
|
||||
|
||||
# optional additional subnets/ips subnets: []
|
||||
# subnets:
|
||||
# - '192.168.123.0/24'
|
||||
# - '192.168.124.11/32'
|
||||
|
||||
# optional bridge parameters bridge: {}
|
||||
# bridge:
|
||||
# ports:
|
||||
# stp:
|
||||
# fd:
|
||||
# maxwait:
|
||||
# waitport:
|
||||
bridge:
|
||||
ports: enp41s0 # for mor devices support a blan separated list
|
||||
stp: !!str off
|
||||
fd: 5
|
||||
hello: 2
|
||||
|
||||
# optional bonding parameters bond: {}
|
||||
# bond:
|
||||
# mode:
|
||||
# miimon:
|
||||
# master:
|
||||
# slaves:
|
||||
# lacp-rate:
|
||||
bond: {}
|
||||
|
||||
# optional vlan settings | vlan: {}
|
||||
# vlan: {}
|
||||
# raw-device: 'eth0'
|
||||
vlan: {}
|
||||
|
||||
# inline hook scripts
|
||||
pre-up: [] # pre-up script lines
|
||||
up:
|
||||
- !!str "route add -net 162.55.82.64 netmask 255.255.255.192 gw 162.55.82.65 dev br0" # up script lines
|
||||
post-up: [] # post-up script lines (alias for up)
|
||||
pre-down: [] # pre-down script lines (alias for down)
|
||||
down: [] # down script lines
|
||||
post-down: [] # post-down script lines
|
||||
|
||||
|
||||
|
||||
- device: br0
|
||||
family: inet6
|
||||
mode: static
|
||||
description: Bridge Interface IPv6 for LXC
|
||||
address: '2a01:4f8:271:1266::2'
|
||||
netmask: 64
|
||||
gateway: 'fe80::1'
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/ansible_dependencies
|
||||
# ---
|
||||
@ -24,8 +119,6 @@
|
||||
# vars used by roles/common/tasks/apt.yml
|
||||
# ---
|
||||
|
||||
#apt_manage_sources_list: false
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/users.yml
|
||||
@ -107,15 +200,6 @@ git_firewall_repository:
|
||||
repo: https://git.oopen.de/firewall/ipt-server
|
||||
dest: /usr/local/src/ipt-server
|
||||
|
||||
git_other_repositories:
|
||||
- name: jitsi
|
||||
repo: https://git.oopen.de/install/jitsi
|
||||
dest: /usr/local/src/jitsi
|
||||
|
||||
- name: etherpad-lite
|
||||
repo: https://git.oopen.de/install/etherpad-lite
|
||||
dest: /usr/local/src/etherpad-lite
|
||||
|
||||
# ==============================
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user