-
Notifications
You must be signed in to change notification settings - Fork 0
Add hard drive support #84
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
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).
| 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).
| 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).
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.
| - 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.
| 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.
| 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.
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-provisionerto ensure that it is exported to k8s