zfs: Remove unused role
This commit is contained in:
parent
051e256c3b
commit
eaa0e25b41
2 changed files with 0 additions and 39 deletions
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
zfs_url: http://download.zfsonlinux.org/epel
|
|
@ -1,37 +0,0 @@
|
|||
---
|
||||
- name: add zfs repositories
|
||||
package:
|
||||
name: "{{ zfs_url }}/zfs-release.el{{ ansible_distribution_version|replace('.', '_') }}.noarch.rpm"
|
||||
state: installed
|
||||
|
||||
- name: disable zfs dkms repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/zfs.repo
|
||||
section: zfs
|
||||
option: enabled
|
||||
value: "0"
|
||||
|
||||
- name: enable zfs kmod repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/zfs.repo
|
||||
section: zfs-kmod
|
||||
option: enabled
|
||||
value: "1"
|
||||
|
||||
- name: install zfs packages
|
||||
package:
|
||||
name: zfs
|
||||
state: installed
|
||||
|
||||
- name: enable zfs
|
||||
modprobe:
|
||||
name: zfs
|
||||
state: present
|
||||
|
||||
- name: import zpools
|
||||
command:
|
||||
argv:
|
||||
- zpool
|
||||
- import
|
||||
- -a
|
||||
creates: /export
|
Loading…
Add table
Add a link
Reference in a new issue