ansible/lib/ansible/modules/system
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
..
__init__.py
aix_inittab.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
aix_lvol.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
alternatives.py Alternatives module: Add a check that the path to the executable exist (#24800) 2017-08-18 15:31:06 -04:00
at.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
authorized_key.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
awall.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
beadm.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
capabilities.py Update capabilities.py (#23879) 2017-08-18 14:24:33 -04:00
cron.py cron: PEP8 compliancy and doc fixes (#30884) 2017-09-25 19:48:22 -04:00
cronvar.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
crypttab.py Fix crypttab python3 compatibility issue (#30457) 2017-09-27 11:58:02 -07:00
dconf.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
debconf.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
facter.py the use of --puppet has been deprecated (#23356) 2017-08-17 15:30:21 -04:00
filesystem.py corrected version added 2017-10-03 21:50:13 -04:00
firewalld.py refactor firewalld module with object abstraction (#26487) 2017-09-11 14:10:07 -07:00
gconftool2.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
getent.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
gluster_volume.py Skip confirmation prompts in gluster_volume (#22402) (#28712) 2017-08-29 10:08:24 -04:00
group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
hostname.py Add diff mode support to hostname module (#28781) 2017-08-29 14:04:23 -04:00
interfaces_file.py Enable more pylint rules and fix reported issues. (#30539) 2017-09-18 23:20:32 -07:00
iptables.py add possibility for log messages via log_prefix (#30358) 2017-09-14 12:12:26 -04:00
java_cert.py add https_proxy (#31062) 2017-10-03 00:12:50 +02:00
kernel_blacklist.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
known_hosts.py Fix section in known_hosts documentation 2017-09-10 20:24:46 -07:00
locale_gen.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lvg.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lvol.py bug: lvol fail when LV already exists (#23635) 2017-08-22 10:47:56 -04:00
make.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
modprobe.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
mount.py mount: PEP8 compliancy and doc fixes 2017-09-27 01:56:08 +02:00
ohai.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
open_iscsi.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
openwrt_init.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
osx_defaults.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
pam_limits.py pam_limits creates custom file if not exist (#26989) (#28616) 2017-08-29 09:43:34 -04:00
pamd.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
parted.py [parted] Fixes incorrect arg spec and check (#27839) 2017-08-29 22:18:22 +02:00
ping.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
puppet.py correct handeling of execute option (#23814) 2017-08-17 15:50:38 -04:00
runit.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
seboolean.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sefcontext.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
selinux.py Correctly write SELinux config file (#31251) 2017-10-03 23:38:58 -04:00
selinux_permissive.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
seport.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
service.py fix check mode for solaris enable/disable (#29049) 2017-09-07 10:16:58 +10:00
setup.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
solaris_zone.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
svc.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sysctl.py Add check for correct parsing of sysctl (#24540) 2017-08-18 15:31:26 -04:00
systemd.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
timezone.py timezone: Add support for macOS (#23447) 2017-09-26 00:08:20 -04:00
ufw.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
user.py modules/system/user.py: Change createhome to create_home (#30179) 2017-09-20 17:34:49 -07:00