1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #5960/3b97fad5 backport][stable-6] Add attributes to some filesystem modules (#6061)

Add attributes to some filesystem modules (#5960)

Add attributes to some filesystem modules.

(cherry picked from commit 3b97fad577)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-02-24 11:04:44 +01:00 committed by GitHub
parent a41d1851a5
commit 93650233e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 70 additions and 11 deletions

View file

@ -17,6 +17,13 @@ description:
- Create, delete or activate ZFS boot environments.
- Mount and unmount ZFS boot environments.
author: Adam Števko (@xen0l)
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
name:
description:

View file

@ -25,6 +25,12 @@ author:
version_added: "3.0.0"
attributes:
check_mode:
support: full
diff_mode:
support: full
options:
path:
description:
@ -93,14 +99,12 @@ options:
- This option is silently ignored. This module always modifies file
size in-place.
notes:
- This module supports C(check_mode) and C(diff).
requirements:
- dd (Data Duplicator) in PATH
extends_documentation_fragment:
- ansible.builtin.files
- community.general.attributes
seealso:
- name: dd(1) manpage for Linux

View file

@ -19,6 +19,13 @@ module: filesystem
short_description: Makes a filesystem
description:
- This module creates a filesystem.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
state:
description:
@ -87,7 +94,6 @@ notes:
a C(blkid) command that is compatible with this module. However, these
packages conflict with each other, and only the C(util-linux) package
provides the command required to not fail when I(state=absent).
- This module supports I(check_mode).
seealso:
- module: community.general.filesize
- module: ansible.posix.mount

View file

@ -17,6 +17,13 @@ module: lvg
short_description: Configure LVM volume groups
description:
- This module creates, removes or resizes volume groups.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
vg:
description:

View file

@ -19,6 +19,13 @@ module: lvol
short_description: Configure LVM logical volumes
description:
- This module creates, removes or resizes logical volumes.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
vg:
type: str

View file

@ -24,6 +24,13 @@ requirements:
- align option (except 'undefined') requires parted 2.1 and above
- If the version of parted is below 3.1, it requires a Linux version running
the sysfs file system C(/sys/).
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
device:
description: The block device (disk) where to operate.

View file

@ -19,7 +19,14 @@ description:
- Configure quotas on XFS filesystems.
- Before using this module /etc/projects and /etc/projid need to be configured.
author:
- William Leemans (@bushvin)
- William Leemans (@bushvin)
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
type:
description:

View file

@ -15,6 +15,19 @@ module: zfs
short_description: Manage zfs
description:
- Manages ZFS file systems, volumes, clones and snapshots
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: partial
details:
- In certain situations it may report a task as changed that will not be reported
as changed when C(check_mode) is disabled.
- For example, this might occur when the zpool C(altroot) option is set or when
a size is written using human-readable notation, such as C(1M) or C(1024K),
instead of as an unqualified byte count, such as C(1048576).
diff_mode:
support: full
options:
name:
description:
@ -39,12 +52,6 @@ options:
- See the zfs(8) man page for more information.
type: dict
default: {}
notes:
- C(check_mode) is supported, but in certain situations it may report a task
as changed that will not be reported as changed when C(check_mode) is disabled.
For example, this might occur when the zpool C(altroot) option is set or when
a size is written using human-readable notation, such as C(1M) or C(1024K),
instead of as an unqualified byte count, such as C(1048576).
author:
- Johan Wiren (@johanwiren)
'''

View file

@ -20,6 +20,13 @@ description:
requirements:
- "A ZFS/OpenZFS implementation that supports delegation with C(zfs allow), including: Solaris >= 10, illumos (all
versions), FreeBSD >= 8.0R, ZFS on Linux >= 0.7.0."
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
name:
description: