remove lvm integration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
317689cb8d
commit
92d357ccb3
@ -5,13 +5,6 @@ jellyfin_user_home: "/home/{{ jellyfin_user }}"
|
||||
jellyfin_group: "{{ jellyfin_user }}"
|
||||
jellyfin_extra_groups: []
|
||||
|
||||
jellyfin_lvm_enabled: False
|
||||
# @var jellyfin_lvm_pvs: $ "_unset_"
|
||||
# @var jellyfin_lvm_vg: $ "_unset_"
|
||||
# @var jellyfin_lvm_lv: $ "_unset_"
|
||||
# @var jellyfin_lvm_fstype: $ "ext4"
|
||||
# @var jellyfin_lvm_size: $ "50G"
|
||||
|
||||
jellyfin_base_dir: "/opt/jellyfin"
|
||||
jellyfin_conf_dir: "{{ jellyfin_base_dir }}/config"
|
||||
jellyfin_data_dir: "{{ jellyfin_base_dir }}/data"
|
||||
|
@ -1,6 +1,4 @@
|
||||
---
|
||||
- include_tasks: prepare.yml
|
||||
- import_tasks: storage.yml
|
||||
when: jellyfin_lvm_enabled
|
||||
- include_tasks: install.yml
|
||||
- include_tasks: post_tasks.yml
|
||||
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
- block:
|
||||
- name: Create volume group '{{ jellyfin_lvm_vg }}'
|
||||
lvg:
|
||||
vg: "{{ jellyfin_lvm_vg }}"
|
||||
pvs: "{{ jellyfin_lvm_pvs | join(',') }}"
|
||||
pesize: "4"
|
||||
|
||||
- name: Create logical volume '{{ jellyfin_lvm_lv }}'
|
||||
lvol:
|
||||
vg: "{{ jellyfin_lvm_vg }}"
|
||||
lv: "{{ jellyfin_lvm_lv }}"
|
||||
size: "{{ jellyfin_lvm_size }}"
|
||||
|
||||
- name: Create filesystem for '/dev/mapper/{{ jellyfin_lvm_vg }}-{{ jellyfin_lvm_lv }}'
|
||||
filesystem:
|
||||
fstype: "{{ jellyfin_lvm_fstype }}"
|
||||
dev: "/dev/mapper/{{ jellyfin_lvm_vg }}-{{ jellyfin_lvm_lv }}"
|
||||
resizefs: True
|
||||
|
||||
- name: Mount volume to '{{ jellyfin_base_dir }}'
|
||||
mount:
|
||||
path: "{{ jellyfin_base_dir }}"
|
||||
src: "/dev/mapper/{{ jellyfin_lvm_vg }}-{{ jellyfin_lvm_lv }}"
|
||||
fstype: "{{ jellyfin_lvm_fstype }}"
|
||||
state: mounted
|
||||
become: True
|
||||
become_user: root
|
Loading…
Reference in New Issue
Block a user