community.general/lib/ansible/modules/system
Gregor Giesen b87ef7772f cron: replacement for os.getlogin() (#4777)
os.getlogin() returns the user logged in on the controlling terminal. However
'crontab' only looks for the login name of the process' real user id which
pwd.getpwuid(os.getuid())[0] does provide.

While in most cases there is no difference, the former might fail under certain
circumstances (e.g. a lxc container connected by attachment without login),
throwing the error 'OSError: [Errno 25] Inappropriate ioctl for device'.
2016-12-08 11:25:04 -05:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
authorized_key.py Fix minor syntax error in authorized_key module doc (#4491) 2016-12-08 11:24:54 -05:00
cron.py cron: replacement for os.getlogin() (#4777) 2016-12-08 11:25:04 -05:00
group.py Fix incorrect variable in group.py: user -> group 2016-12-08 11:23:39 -05:00
hostname.py Convert command output to native string (#4559) 2016-12-08 11:24:54 -05:00
mount.py Port mount.py to python3, need to use six.iteritems (#4581) 2016-12-08 11:24:56 -05:00
ping.py Port to dual python2/python3 compat 2016-12-08 11:24:27 -05:00
seboolean.py Add support for selinux_boolean_sub conversion (#4570) 2016-12-08 11:24:58 -05:00
selinux.py Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
service.py fixes corner case for systemd services 2016-12-08 11:24:49 -05:00
setup.py add gather_timeout parameter (#4093) 2016-12-08 11:24:42 -05:00
sysctl.py Showing some of the sysctl settings in proper yaml format per Ansible documentation (#4073) 2016-12-08 11:24:41 -05:00
systemd.py Fix traceback on python3 (#4556) 2016-12-08 11:24:56 -05:00
user.py Fix user module under python3 (#4560) 2016-12-08 11:24:56 -05:00