community.general/lib/ansible/module_utils/facts/system
Adrian Likins f4128746d3 Cmdline fact uefi 23647 (#25446)
* Fix ansible_cmdline initrd fact for UEFI

UEFI cmdline paths use \ path sep which would
get munged by cmdline fact collection.

* Make CmdLineFactCollector easier to test

extract the parsing of the /proc/cmdline content to
_parse_proc_cmdline()

add a wrapper method for get_file_content _get_proc_cmdline()

Add unit tests of _parse_proc_cmdline based on examples
from issue #23647

Fixes #23647
2017-06-08 16:03:29 -04:00
..
__init__.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
apparmor.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
caps.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
cmdline.py Cmdline fact uefi 23647 (#25446) 2017-06-08 16:03:29 -04:00
date_time.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
distribution.py Add Antergos to OS_FAMILY_MAP as fork of Arch Linux. (#25363) 2017-06-07 13:46:29 -04:00
dns.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
env.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
fips.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
local.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
lsb.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
pkg_mgr.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
platform.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
python.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
selinux.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
service_mgr.py Make ServiceMgrFactCollector.is_systemd_managed() a static method (#25316) 2017-06-05 09:39:05 -04:00
ssh_pub_keys.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
user.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00