community.general/lib/ansible/modules/system
Michael Scherer f2b6c7b6a2 Fix user module under python3 (#4560)
Using something like:

    - name: Create ssh keys
      user:
        name: root
        generate_ssh_key: yes
      register: key

result into this traceback on F24

    Traceback (most recent call last):
      File \"/tmp/ansible_jm5d4vlh/ansible_module_user.py\", line 2170, in <module>
        main()
      File \"/tmp/ansible_jm5d4vlh/ansible_module_user.py\", line 2108, in main
        (rc, out, err) = user.modify_user()
      File \"/tmp/ansible_jm5d4vlh/ansible_module_user.py\", line 660, in modify_user
        return self.modify_user_usermod()
      File \"/tmp/ansible_jm5d4vlh/ansible_module_user.py\", line 417, in modify_user_usermod
        has_append = self._check_usermod_append()
      File \"/tmp/ansible_jm5d4vlh/ansible_module_user.py\", line 405, in _check_usermod_append
        lines = helpout.split('\\n')
    TypeError: a bytes-like object is required, not 'str'
2016-12-08 11:24:56 -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 Fixes #3791 cron always returning changed state for multiline jobs (#4285) 2016-12-08 11:24:49 -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 Add support for setting fstab location on Linux too for mount (#3271) 2016-12-08 11:24:52 -05:00
ping.py Port to dual python2/python3 compat 2016-12-08 11:24:27 -05:00
seboolean.py Port seboolean to py3/py2.4 syntax (#3679) 2016-12-08 11:24:29 -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