mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Update filesystem.py
add ocfs2 support for module filesystem Update setup.yml delete trailing spaces add ocsfs2 defaut var Install ocfs2-tools for all linux Testing ocfs2 on for Ubuntu - restrict blkid to be be done
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
grow: '{{ item.value.grow }}'
|
||||
when:
|
||||
- 'not (item.key == "btrfs" and ansible_system == "FreeBSD")'
|
||||
- 'not (item.key == "ocfs2" and ansible_system != "Ubuntu")'
|
||||
# On Ubuntu trusty, blkid is unable to identify filesystem smaller than 256Mo, see:
|
||||
# https://www.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21-ChangeLog
|
||||
# https://anonscm.debian.org/cgit/collab-maint/pkg-util-linux.git/commit/?id=04f7020eadf31efc731558df92daa0a1c336c46c
|
||||
|
||||
@@ -29,6 +29,12 @@
|
||||
with_items:
|
||||
- python-xml
|
||||
- btrfsprogs
|
||||
|
||||
- name: install ocfs2 (Ubuntu)
|
||||
package:
|
||||
name: ocfs2-tools
|
||||
state: present
|
||||
when: ansible_os_family == 'Ubuntu'
|
||||
when: ansible_system == 'Linux'
|
||||
|
||||
- block:
|
||||
|
||||
Reference in New Issue
Block a user