Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastruktur
ansible
Commits
b858e5f8
Unverified
Commit
b858e5f8
authored
1 week ago
by
Nico
Browse files
Options
Downloads
Patches
Plain Diff
backbone_babel: use bird 2.17 for babel ip4-over-ip6 nexthops
parent
2c626d78
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/backbone_babel/tasks/routing_bird.yml
+13
-0
13 additions, 0 deletions
roles/backbone_babel/tasks/routing_bird.yml
roles/backbone_babel/templates/bird-backbone-babel.conf.j2
+15
-1
15 additions, 1 deletion
roles/backbone_babel/templates/bird-backbone-babel.conf.j2
with
28 additions
and
1 deletion
roles/backbone_babel/tasks/routing_bird.yml
+
13
−
0
View file @
b858e5f8
---
-
name
:
Setup bird repos on bookworm
when
:
ansible_facts['distribution_major_version'] == "12"
block
:
-
name
:
Deploy bird apt repo key
ansible.builtin.copy
:
src
:
bird-cznic-labs-pkg-apt-key.gpg
dest
:
/usr/share/keyrings/cznic-labs-pkg.gpg
-
name
:
Deploy bird cz.nic apt repo config
ansible.builtin.copy
:
src
:
bird-cznic-labs-pkg-apt.list
dest
:
/etc/apt/sources.list.d/cznic-labs-bird2.list
-
name
:
Install bird2
ansible.builtin.apt
:
name
:
bird2
state
:
present
update_cache
:
yes
-
name
:
Mask babeld to avoid conflicts with bird
ansible.builtin.systemd_service
:
...
...
This diff is collapsed.
Click to expand it.
roles/backbone_babel/templates/bird-backbone-babel.conf.j2
+
15
−
1
View file @
b858e5f8
# ANSIBLE managed
protocol static bb_babel_static_v6 {
ipv6;
{% for ip in bb_babel_loopback_ipv6 %}
route {{ ip }}/128 unreachable;
{% endfor %}
};
protocol static bb_babel_static_v4 {
ipv4;
{% for ip in bb_babel_loopback_ipv4 %}
route {{ ip }}/32 unreachable;
{% endfor %}
};
filter import_backbone_babel {
{% for network in bb_babel_networks|ansible.utils.ipv6 %}
if net.type = NET_IP6 && net ~ [{{ network }}+] then {
...
...
@@ -29,7 +43,7 @@ filter export_backbone_babel {
reject;
};
protocol babel b
ackbone
_babel {
protocol babel b
b
_babel {
{% for interface in interfaces %}
interface "{{ interface }}" {
type wired;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment