Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add hard drive support #84

wants to merge 1 commit into from

Conversation

LuisDuarte1
Copy link
Member

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

- 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

Use ansible.builtin.dnf or ansible.legacy.dnf instead.
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

Use ansible.builtin.dnf or ansible.legacy.dnf instead.
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

Use ansible.builtin.dnf or ansible.legacy.dnf instead.
node/add-zfs-to-storage-node.yaml Fixed Show fixed Hide fixed
node/add-zfs-to-storage-node.yaml Fixed Show fixed Hide fixed
node/add-zfs-to-storage-node.yaml Fixed Show fixed Hide fixed
node/add-zfs-to-storage-node.yaml Fixed Show fixed Hide fixed
node/add-zfs-to-storage-node.yaml Fixed Show fixed Hide fixed
node/add-zfs-to-storage-node.yaml Fixed Show fixed Hide fixed
node/add-zfs-to-storage-node.yaml Fixed Show fixed Hide fixed
- 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

Task/Handler: Load ZFS kernel module
- 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

Task/Handler: Load ZFS kernel module
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

Task/Handler: Check ZFS pool existance
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

Task/Handler: Create ZFS pool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant