aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-08-04 12:00:39 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-08-04 12:00:39 +0300
commitd38fe54ab035f8e3248b8e20a58abd89861833bf (patch)
treefcc78428a726799568a1ae2253a16590e883c816 /roles/host
parent017b29539749da3c62202879d757a45ffc71208c (diff)
Simplify jail configuration
Diffstat (limited to 'roles/host')
-rw-r--r--roles/host/tasks/main.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/roles/host/tasks/main.yml b/roles/host/tasks/main.yml
index 2a18e7a..78be7c6 100644
--- a/roles/host/tasks/main.yml
+++ b/roles/host/tasks/main.yml
@@ -105,6 +105,14 @@
group: wheel
mode: "0755"
+- name: Deploy jail_net script
+ template:
+ src: "{{ role_path }}/../jail/templates/usr_local_bin_jail_net.j2"
+ dest: /usr/local/bin/jail_net
+ owner: root
+ group: wheel
+ mode: "0755"
+
- name: Check if quarterly ports tree exists
stat:
path: /usr/ports/quarterly/Mk
@@ -157,7 +165,7 @@
- { name: "zroot/jails/media" }
- { name: "zroot/jails/templates" }
- { name: "zroot/jails/containers" }
- - { name: "zroot/jails/volumes", mountpoint: "none" }
+ - { name: "zroot/jails/volumes", mountpoint: "/usr/local/jails/volumes" }
- { name: "zroot/storage", mountpoint: "/usr/local/jails/volumes/storage" }
- { name: "zroot/netdata_db", mountpoint: "/var/db/netdata" }
- { name: "zroot/ports", mountpoint: "/usr/ports" }