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
6694baf31a
commit
1e75096389
@ -25,16 +25,6 @@ matrix_packages:
|
||||
- libffi-devel
|
||||
- openssl-devel
|
||||
|
||||
# Create separate LVM storage for matrix
|
||||
matrix_lvm_enabled: False
|
||||
# This variables are only necessary if matrix_lvm_enabled is 'True'
|
||||
# Set physical volumes to use in LVM
|
||||
# matrix_lvm_pvs: # ['/dev/sdb', '/dev/sdc']
|
||||
# matrix_lvm_vg: # "vg_matrix"
|
||||
# matrix_lvm_lv: # "lv_matrix"
|
||||
# matrix_lvm_fstype: # "ext4"
|
||||
# matrix_lvm_size: # "50G"
|
||||
|
||||
matrix_base_dir: "/opt/matrix"
|
||||
matrix_conf_dir: "{{ matrix_base_dir }}/config"
|
||||
matrix_data_dir: "{{ matrix_base_dir }}/data"
|
||||
|
@ -1,7 +1,5 @@
|
||||
---
|
||||
- include_tasks: prepare.yml
|
||||
- import_tasks: storage.yml
|
||||
when: matrix_lvm_enabled | bool
|
||||
- include_tasks: install.yml
|
||||
- import_tasks: tls.yml
|
||||
when: matrix_tls_enabled | bool
|
||||
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
- block:
|
||||
- name: Create volume group '{{ matrix_lvm_vg }}'
|
||||
lvg:
|
||||
pesize: "4"
|
||||
vg: "{{ matrix_lvm_vg }}"
|
||||
pvs: "{{ matrix_lvm_pvs | join(',') }}"
|
||||
|
||||
- name: Create logical volume '{{ matrix_lvm_lv }}'
|
||||
lvol:
|
||||
vg: "{{ matrix_lvm_vg }}"
|
||||
lv: "{{ matrix_lvm_lv }}"
|
||||
size: "{{ matrix_lvm_size }}"
|
||||
|
||||
- name: Create filesystem for '/dev/mapper/{{ matrix_lvm_vg }}-{{ matrix_lvm_lv }}'
|
||||
filesystem:
|
||||
fstype: "{{ matrix_lvm_fstype }}"
|
||||
dev: "/dev/mapper/{{ matrix_lvm_vg }}-{{ matrix_lvm_lv }}"
|
||||
resizefs: True
|
||||
|
||||
- name: Mount volume to '{{ matrix_base_dir }}'
|
||||
mount:
|
||||
path: "{{ matrix_base_dir }}"
|
||||
src: "/dev/mapper/{{ matrix_lvm_vg }}-{{ matrix_lvm_lv }}"
|
||||
fstype: "{{ matrix_lvm_fstype }}"
|
||||
state: mounted
|
||||
become: True
|
||||
become_user: root
|
Loading…
Reference in New Issue
Block a user