Switch to using a script to dynamically spin up the netgraph bridge for jails.

This commit is contained in:
Tom Alexander
2023-04-25 18:33:19 -04:00
parent be2e0c964b
commit ba7567ad9c
7 changed files with 159 additions and 106 deletions

View File

@@ -125,6 +125,17 @@
- src: "{{ netgraph_config }}"
dest: /usr/local/bin/setup_netgraph
- name: Install scripts
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0755
owner: root
group: wheel
loop:
- src: jail_netgraph_bridge.bash
dest: /usr/local/bin/jail_netgraph_bridge
- name: Enable setup_netgraph
when: netgraph_config is defined
community.general.sysrc: