-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hard drive support #84
base: main
Are you sure you want to change the base?
Conversation
- name: Use storage definition for node | ||
ansible.builtin.set_fact: | ||
zfs_pool_devices: "{{ storage_definitions[inventory_hostname] }}" | ||
- name: Enable EPEL repository |
Check failure
Code scanning / Ansible-lint
Use FQCN for builtin module actions (ansible.builtin.yum). Error
ansible.builtin.rpm_key: | ||
state: present | ||
key: https://raw.githubusercontent.com/zfsonlinux/zfsonlinux.github.com/master/zfs-release/RPM-GPG-KEY-openzfs-key2 | ||
- name: Install DKMS manually |
Check failure
Code scanning / Ansible-lint
Use FQCN for builtin module actions (ansible.builtin.yum). Error
ansible.builtin.yum: | ||
name: dkms | ||
state: present | ||
- name: Install zfs repo |
Check failure
Code scanning / Ansible-lint
Use FQCN for builtin module actions (ansible.builtin.yum). Error
2169624
to
1440ea8
Compare
- name: Install dkms modules | ||
ansible.builtin.command: dkms autoinstall | ||
changed_when: true | ||
- name: Load ZFS kernel module |
Check failure
Code scanning / Ansible-lint
Use failed_when and specify error conditions instead of using ignore_errors. Error
- name: Install dkms modules | ||
ansible.builtin.command: dkms autoinstall | ||
changed_when: true | ||
- name: Load ZFS kernel module |
Check failure
Code scanning / Ansible-lint
Commands should not change things if nothing needs doing. Error
ansible.builtin.command: modprobe zfs | ||
failed_when: false | ||
ignore_errors: true | ||
- name: Check ZFS pool existance |
Check failure
Code scanning / Ansible-lint
Commands should not change things if nothing needs doing. Error
ignore_errors: true | ||
failed_when: false | ||
|
||
- name: Create ZFS pool |
Check failure
Code scanning / Ansible-lint
Commands should not change things if nothing needs doing. Error
In niployments we now gain the capability of adding new storage nodes that use zfs and nfs in the background. This also deploys
nfs-subdir-external-provisioner
to ensure that it is exported to k8s