Skip to content

Commit

Permalink
fix(infra): ensure kernel bridge module is loaded (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored Jul 5, 2024
1 parent 6f88412 commit 03b9f39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infrastructure/nomad/playbooks/init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- openssl
- httping
- iptables
- bridge-utils
- apt-transport-https
- python3
- python3-pip
Expand Down Expand Up @@ -66,6 +67,11 @@
state: present
ignore_errors: yes

- name: Ensure Kernel Bridge Module is Loaded
shell: |
modprobe bridge
if ! grep -q '^bridge$' /etc/modules; then echo "bridge" >> /etc/modules; fi
- name: Include Common Variables
include_vars:
file: variables/common.yml
Expand Down

0 comments on commit 03b9f39

Please sign in to comment.