You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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'
8 years ago
..
__init__.py package files 10 years ago
authorized_key.py Fix minor syntax error in authorized_key module doc (#4491) 8 years ago
cron.py Fixes #3791 cron always returning changed state for multiline jobs (#4285) 8 years ago
group.py Fix incorrect variable in group.py: user -> group 9 years ago
hostname.py Convert command output to native string (#4559) 8 years ago
mount.py Add support for setting fstab location on Linux too for mount (#3271) 8 years ago
ping.py Port to dual python2/python3 compat 8 years ago
seboolean.py Port seboolean to py3/py2.4 syntax (#3679) 8 years ago
selinux.py Proper author info for all remaining modules 9 years ago
service.py fixes corner case for systemd services 8 years ago
setup.py add gather_timeout parameter (#4093) 8 years ago
sysctl.py Showing some of the sysctl settings in proper yaml format per Ansible documentation (#4073) 8 years ago
systemd.py Fix traceback on python3 (#4556) 8 years ago
user.py Fix user module under python3 (#4560) 8 years ago