community.general/lib/ansible/module_utils/facts
Sam Doran 00df1fda10 Correctly write SELinux config file (#31251)
* Add new lines to end of config file lines

* Properly write out selinux config file

Change module behavior to not always report a change but warn if a reboot is needed and return reboot_required.

Improve the output messages.

Add strip parameter to get_file_lines utility to help with parsing the selinux config file.

* Add return documentation

* Add integration tests for selinux module

* Use consistent capitalization for SELinux

* Use atomic_move in selinux module

* Don't copy the config file initially

There's no need to make a copy just for reading.

* Put message after set_config_policy in case the change fails

* Add aliases to selinux tests
2017-10-03 23:38:58 -04:00
..
hardware facts: fix SPARC cpu count on linux (#30261) 2017-09-22 14:48:00 -04:00
network Support NetBSD 7.1+ style ifconfig -a output (#25442) 2017-06-08 17:09:22 -04:00
other Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
system Fix ansible_distribution on Ubuntu 10.04 (#31108) 2017-10-03 15:32:33 -04:00
virtual Fix ansible_virtualization_role fact on CloudLinux (#27191) 2017-08-30 12:25:57 -04:00
__init__.py Add 2.0-2.3 facts api compat (ansible_facts(), get_all_facts()) (#27294) 2017-08-01 12:51:33 -04:00
ansible_collector.py Mv AnsibleFactCollector back to module_utils (#26150) 2017-07-11 10:44:22 -04:00
collector.py Fix fact failures cause by ordering of collectors (#30777) 2017-09-28 10:36:22 -04:00
compat.py Add 2.0-2.3 facts api compat (ansible_facts(), get_all_facts()) (#27294) 2017-08-01 12:51:33 -04:00
default_collectors.py Fix fact failures cause by ordering of collectors (#30777) 2017-09-28 10:36:22 -04:00
namespace.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
sysctl.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
timeout.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
utils.py Correctly write SELinux config file (#31251) 2017-10-03 23:38:58 -04:00