fix zfs instalation

This commit is contained in:
Nikita Simonov
2026-04-08 20:10:24 +04:00
parent aef6db74f0
commit b492ce12d4
2 changed files with 16 additions and 14 deletions

View File

@@ -4,9 +4,6 @@ network_interfaces:
address: "192.168.8.2/24"
gateway: "192.168.8.1"
specific_packages:
- zfsutils-linux
omz_install_zsh: true
omz_zsh_theme: "clean"

View File

@@ -1,21 +1,26 @@
- name: install kernel headers
hosts: storage
vars:
ansible_ssh_user: pi
ansible_sudo_pass: pi
ansible_ssh_pass: pi
ansible_host: "{{ ip_before_reboot }}"
# vars:
# ansible_ssh_user: pi
# ansible_sudo_pass: pi
# ansible_ssh_pass: pi
# ansible_host: "{{ ip_before_reboot }}"
tasks:
- name: install package
- name: install kernel headers
ansible.builtin.apt:
deb: /opt/archives/linux-headers-6.1.141_6.1.141-16_arm64.deb
- name: install zfs
ansible.builtin.apt:
name: zfsutils-linux
state: present
update_cache: yes
- hosts: storage
vars:
ansible_ssh_user: pi
ansible_sudo_pass: pi
ansible_ssh_pass: pi
ansible_host: "{{ ip_before_reboot }}"
# vars:
# ansible_ssh_user: pi
# ansible_sudo_pass: pi
# ansible_ssh_pass: pi
# ansible_host: "{{ ip_before_reboot }}"
roles:
- role: dns
tags: dns