community.general/lib/ansible/modules/system
Olivier Bourdon 612d0d6634 Fix interfaces_file for proper file contents (#37818)
The generated file was completely unusable by the system
therefore the fix which ensures that diffing the file
prior to changes and after only shows diffs

Furthermore the code did not work for Python 3.6
>       f.writelines(to_bytes(lines, errors='surrogate_or_strict'))
E       TypeError: a bytes-like object is required, not 'int'

The other modifications (lambda variable renaming) is to
comply with default flake8 rules
2018-03-28 10:21:43 +01:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
aix_inittab.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
aix_lvol.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08: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 at: PEP8 compliancy and doc fixes (#30881) 2017-10-30 00:56:54 +01:00
authorized_key.py Address some language in EXAMPLES (#37555) 2018-03-19 13:51:23 -04:00
awall.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
beadm.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
capabilities.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
cron.py Bulk autopep8 (modules) 2017-12-07 20:25:55 +00:00
cronvar.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
crypttab.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
dconf.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
debconf.py Update debconf example (#33397) 2017-11-30 18:07:11 +10:00
facter.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
filesystem.py filesystem: fix documentation (#36556) 2018-02-23 10:59:38 +00:00
firewalld.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
gconftool2.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
getent.py getent: PEP8 compliancy and doc fixes (#30885) 2017-10-30 00:58:04 +01:00
gluster_volume.py Module DOCUMENTATION should match argspec (#34895) 2018-01-16 12:18:51 +00:00
group.py added 'local' option to group (#34805) 2018-02-09 01:02:35 -05:00
hostname.py Replace LooseVersion comparison with int/float comparison. Fixes #35435 (#35519) 2018-01-30 15:27:22 -06:00
interfaces_file.py Fix interfaces_file for proper file contents (#37818) 2018-03-28 10:21:43 +01:00
iptables.py Allow inversion of uid_owner match in iptables module (#36073) 2018-03-01 12:24:02 +00:00
java_cert.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
kernel_blacklist.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
known_hosts.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
locale_gen.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
lvg.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
lvol.py Fix task description of thinpool examples (#35402) 2018-01-26 18:36:10 +00:00
make.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
mksysb.py new module: AIX rootvg backup image using mksysb (#30460) 2017-10-12 11:58:43 -04:00
modprobe.py modprobe: PEP8 compliancy and doc fixes (#31255) 2017-10-08 09:21:58 -04:00
mount.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
nosh.py nosh system module: fixes and improvements (#32014) 2017-10-23 09:19:22 -04:00
ohai.py Fix the docs link to Ohai in the Ohai module (#33788) 2018-03-08 17:00:17 -08:00
open_iscsi.py open_iscsi fails to login when discovery returns multiple portals #29309 (#35262) 2018-01-31 00:03:35 +01:00
openwrt_init.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
osx_defaults.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
pam_limits.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
pamd.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
parted.py [parted] Fixes incorrect arg spec and check (#27839) 2017-08-29 22:18:22 +02:00
ping.py Clarify which ping module to use (#34935) 2018-01-17 14:02:06 +00:00
puppet.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
runit.py Fixed spelling error in runit module (#35948) 2018-02-10 21:13:55 +05:30
seboolean.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
sefcontext.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
selinux.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
selinux_permissive.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
seport.py Accept list or string for ports is seport module (#36661) 2018-03-13 12:04:27 -04:00
service.py service: Add support for DragonFly BSD 2018-02-07 11:23:10 -05:00
service_facts.py service_facts module (#34065) 2018-01-08 13:35:16 -08:00
setup.py Add fact to obtain iSCSI initiator IQN 2018-03-13 17:39:53 -07:00
solaris_zone.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
svc.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
sysctl.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
systemd.py Add force option to systemd module (#35925) 2018-02-20 20:47:29 -05:00
timezone.py Fix typo in timezone.py (#37442) 2018-03-16 11:18:03 +05:30
ufw.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
user.py add DragonFlyBSD support to modules/system/{user,group} 2018-02-07 17:18:49 -05:00
vdo.py New Ansible module for Virtual Data Optimizer (#32267) 2018-01-31 15:22:01 -05:00