fix: remove unnecessary datapool existence check from server tasks
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 16s
Nix Format Check / check-format (push) Successful in 55s
Python Lint Check / check-python (push) Failing after 13s

This commit is contained in:
Menno van Leeuwen 2025-03-14 00:32:12 +01:00
parent f3ddb838ed
commit 3e48b16a61
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -11,13 +11,6 @@
- name: Include JuiceFS tasks
ansible.builtin.include_tasks: juicefs.yml
- name: Check if datapool exists
ansible.builtin.command: zpool list datapool
register: datapool_check
ignore_errors: true
become: true
changed_when: false
- name: Include services tasks
ansible.builtin.include_tasks: services/services.yml
vars:
@ -36,7 +29,3 @@
enabled: false
- name: jellyfin
enabled: true
when:
- datapool_check is defined
- datapool_check.rc is defined
- datapool_check.rc == 0