Move the nat_dhcp jail to an unencrypted dataset so it can be available at boot.

This commit is contained in:
Tom Alexander 2022-12-02 22:13:32 -05:00
parent 74d31edae1
commit dac4734a80
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
4 changed files with 9 additions and 1 deletions
ansible
environments/home
roles/media/tasks

@ -22,6 +22,11 @@ jail_zfs_dataset_mountpoint: /jail/main
jail_canmount: "on"
jail_bemount: "on"
jail_list:
- name: nat_dhcp
dataset: zmass/unencrypted/jails
enabled: true
conf:
src: nat_dhcp
- name: cloak
conf:
src: cloak

@ -1,2 +1,2 @@
[headless]
homeserver ansible_user=talexander ansible_host=192.168.1.123
homeserver ansible_user=talexander ansible_host=172.16.16.2

@ -15,6 +15,7 @@
state: present
- include_tasks: "tasks/{{graphics_driver}}.yaml"
when: install_graphics # TODO: Maybe this should be when graphics_driver is defined to support headless casting
- import_tasks: tasks/freebsd.yaml
when: 'os_flavor == "freebsd"'

@ -2,6 +2,7 @@
name: per_user
- name: Create directories
when: install_graphics
file:
name: "{{ account_homedir.stdout }}/{{ item }}"
state: directory
@ -12,6 +13,7 @@
- ".config/mpv"
- name: Copy files
when: install_graphics
copy:
src: "files/{{ item.src }}"
dest: "{{ account_homedir.stdout }}/{{ item.dest }}"