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
Marius Gedminas 4ae4331a6b user: don't generate SSH keys in check mode
Fixes https://github.com/ansible/ansible/issues/11768

Test plan:

- (in a Vagrant VM) created a user 'bob' with no ssh key
- ran the following playbook in check mode:

    ---
    - hosts: trusty
      tasks:
        - user: name=bob state=present generate_ssh_key=yes

- saw that ansible-playbook reported "changes=1"
- saw that /home/bob/.ssh was still absent
- ran the playbook for real
- saw that /home/bob/.ssh was created
- ran the playbook in check mode again
- saw that ansible-playbook reported no changes
- tried a variation with a different username for a user that didn't
  exist: ansible-playbook --check worked correctly (no errors, reported
  "changed")
10 years ago
..
__init__.py package files 11 years ago
authorized_key.py Fix documentation of authorized_key.py 10 years ago
cron.py minor doc fixes 11 years ago
group.py Check if the gid is set 11 years ago
hostname.py Add Solaris support in hostname module 11 years ago
mount.py mount: Support for Check-Mode 11 years ago
ping.py Proper author info for all remaining modules 11 years ago
seboolean.py Proper author info for all remaining modules 11 years ago
selinux.py Proper author info for all remaining modules 11 years ago
service.py made continue into a pass (there was no loop) 11 years ago
setup.py changed verbose override variable 11 years ago
sysctl.py Proper author info for all remaining modules 11 years ago
user.py user: don't generate SSH keys in check mode 10 years ago