Squash merge move_to_single_file_pkgs into main
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Add zfs
|
||||
block:
|
||||
- name: Load zfs config
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/zfs.yml
|
||||
|
||||
- name: Linux based installation
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
block:
|
||||
- name: Append zfs to pkg_sys
|
||||
notify:
|
||||
- Depend zfs repo
|
||||
changed_when: true
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + zfs.deps + zfs.pkgs }}"
|
||||
|
||||
- name: Append openzfs to pkg_cask
|
||||
when:
|
||||
- ansible_os_family == 'Darwin'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_cask: "{{ pkg_cask + ['openzfs'] }}"
|
||||
|
||||
- name: Set zfs_configured
|
||||
ansible.builtin.set_fact:
|
||||
zfs_configured: true
|
||||
Reference in New Issue
Block a user