diff options
author | Sloane Hertel <19572925+s-hertel@users.noreply.github.com> | 2024-09-19 21:05:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 21:05:05 +0200 |
commit | 40ade1f84b8bb10a63576b0ac320c13f57c87d34 (patch) | |
tree | d1836cbc307cb8abfb32bcd9df06605ebdee5261 /test/integration/targets/roles_arg_spec/test.yml | |
parent | ansible-test no longer needs special casing in `__main__.py` (#83962) (diff) | |
download | ansible-40ade1f84b8bb10a63576b0ac320c13f57c87d34.tar.xz ansible-40ade1f84b8bb10a63576b0ac320c13f57c87d34.zip |
Add mount_facts module (#83508)
* Add a mount_facts module capable of gathering mounts skipped by default
fact gathering
* By default, collect mount facts from standard locations including
/etc/mtab, /proc/mounts, /etc/fstab, /etc/mnttab, /etc/vfstab, and on AIX,
/etc/filesystems.
When no file-based source for the current mounts can be found
(like /proc/mounts), the module falls back to using mount as a source.
This allows BSD and AIX to collect the existing mounts by default, without
causing Linux hosts to use both /proc/mounts and mount output.
* Non-standard locations and "mount" can be configured as a sources.
* Support returning an aggregate list of mount points in addition to first
found.
When there are multiple mounts for the same mount point in an
individual source, a warning is given if the include_aggregate_mounts
option is not configured.
* Add options to filter on fstypes and devices (supporting UNIX shell
wildcards).
* Support configuring a timeout and timeout behavior to make it easier
to use the module as a default facts module without risking a hang.
* Include the source and line(s) corresponding to a mount for easier
debugging.
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
Diffstat (limited to 'test/integration/targets/roles_arg_spec/test.yml')
0 files changed, 0 insertions, 0 deletions