You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/modules
Sloane Hertel 40ade1f84b
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>
2 months ago
..
__init__.py Some algorithmic unittests for the apt and docker modules 9 years ago
conftest.py Require `from __future__ import annotations` (#81902) 1 year ago
mount_facts_data.py Add mount_facts module (#83508) 2 months ago
test_apt.py test_apt: migrate from unittest to pytest (#82666) 8 months ago
test_apt_key.py Remove Python 2.x compat from unit tests (#82109) 1 year ago
test_async_wrapper.py Require `from __future__ import annotations` (#81902) 1 year ago
test_copy.py Require `from __future__ import annotations` (#81902) 1 year ago
test_hostname.py Remove Python 2 compat (via six) from unit tests 1 year ago
test_iptables.py iptables, use existing validation (#83907) 3 months ago
test_known_hosts.py Remove Python 2.x compat from unit tests (#82109) 1 year ago
test_mount_facts.py Add mount_facts module (#83508) 2 months ago
test_pip.py Require `from __future__ import annotations` (#81902) 1 year ago
test_service.py Remove Python 2 compat (via six) from unit tests 1 year ago
test_service_facts.py Remove Python 2.x compat from unit tests (#82109) 1 year ago
test_systemd.py Remove Python 2.x compat from unit tests (#82109) 1 year ago
test_unarchive.py unarchive: Better handling of files with an invalid timestamp in zip file (#81520) 5 months ago
test_uri.py uri: Handle the "force" parameter properly (#82187) 10 months ago
utils.py Remove Python 2.x compat from unit tests (#82109) 1 year ago