fix zfs instalation
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
27
prepare.yml
27
prepare.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user