Infra/ansible/roles/zfs/tasks/install.yml
2022-04-15 15:51:58 +02:00

16 lines
310 B
YAML

- name: Install packages
become: true
ansible.builtin.apt:
name: "{{ item }}={{ zfs_ver }}"
state: present
with_items:
- zfsutils-linux
- name: Hold ZFS version
become: true
ansible.builtin.dpkg_selections:
name: "{{ item }}"
selection: "hold"
with_items:
- zfsutils-linux