frigate: Split data into two disks (hdd + nvme)
This commit is contained in:
parent
78319d29b5
commit
5865d0da5c
3 changed files with 20 additions and 8 deletions
|
@ -13,15 +13,18 @@
|
|||
- "{{ ansible_private }}/vars.yml"
|
||||
|
||||
pre_tasks:
|
||||
- name: Mount /export
|
||||
- name: Mount datadirectories
|
||||
ansible.posix.mount:
|
||||
name: /export
|
||||
src: LABEL=/export
|
||||
name: "/export/frigate/{{ item }}"
|
||||
src: "LABEL={{ item }}"
|
||||
fstype: xfs
|
||||
opts: noatime,noexec,nosuid,nodev
|
||||
passno: "0"
|
||||
dump: "0"
|
||||
state: mounted
|
||||
with_items:
|
||||
- config
|
||||
- media
|
||||
|
||||
roles:
|
||||
- base
|
||||
|
@ -32,13 +35,13 @@
|
|||
keytab_group: apache
|
||||
|
||||
tasks:
|
||||
- name: Run handlers to get interfaces configured
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- name: Include unbound role
|
||||
ansible.builtin.import_role:
|
||||
name: unbound
|
||||
|
||||
- name: Run handlers to get interfaces configured
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- name: Include dhcpd role
|
||||
ansible.builtin.include_role:
|
||||
name: dhcpd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue