ansible/system
Michael Scherer 38992bbd57 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-08-31 07:52:46 -07:00
..
__init__.py
authorized_key.py Fix minor syntax error in authorized_key module doc (#4491) 2016-08-27 16:52:03 +02:00
cron.py Fixes #3791 cron always returning changed state for multiline jobs (#4285) 2016-08-10 23:43:58 +02:00
group.py Fix incorrect variable in group.py: user -> group 2015-10-03 01:09:03 +01:00
hostname.py Convert command output to native string (#4559) 2016-08-27 15:53:13 +02:00
mount.py Add support for setting fstab location on Linux too for mount (#3271) 2016-08-23 11:38:59 -04:00
ping.py Port to dual python2/python3 compat 2016-05-10 21:58:49 -07:00
seboolean.py Port seboolean to py3/py2.4 syntax (#3679) 2016-05-17 10:23:06 -07:00
selinux.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
service.py fixes corner case for systemd services 2016-08-11 09:24:42 -04:00
setup.py add gather_timeout parameter (#4093) 2016-07-08 17:22:05 -04:00
sysctl.py Showing some of the sysctl settings in proper yaml format per Ansible documentation (#4073) 2016-06-30 19:27:41 -04:00
systemd.py Fix traceback on python3 (#4556) 2016-08-31 07:49:45 -07:00
user.py Fix user module under python3 (#4560) 2016-08-31 07:52:46 -07:00