Commit Graph

34 Commits (6748ef121b2fb097e5a4c8b7b65f42fc6d6df38d)

Author SHA1 Message Date
Sean Chittenden 5e0cf6663a Fix broken behavior when removing all auxiliary groups from a user
(e.g. 'groups=' in the user module).
11 years ago
Aaron Lindsay 59ac969d2b Add move_home option to user module 11 years ago
jctanner 332d3d6a0e Merge pull request #5490 from rgbj/devel
user module/OpenBSD: using login_class always makes status 'changed'
11 years ago
Joshua Lund 3b4f3f8ca3 Improved the documentation for password generation 11 years ago
rgbj f2150b101e On OpenBSD, make user module status 'changed' only if necessary when using 'login_class' parameter 11 years ago
jeromew 1916e8ec90 user module: force= and remove= should not be mutually exclusive 11 years ago
James Tanner cbfeb0a2ea Fixes #5169 Evaluate check_mode in the user module SunOS class 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Michael DeHaan 36effd237c There's a cleaner way to do this, commit to module formatter pending.
Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago."

This reverts commit ff0a41d446.
11 years ago
Michael DeHaan ff0a41d446 No longer need to reference 'version_added' in docs for these, as this was quite a while ago. 11 years ago
James Tanner d187066339 Fixes #5010 Add user to all defined supplementary groups 11 years ago
Michael DeHaan b725361bce Merge pull request #4560 from tronner/issue4461
Fix illegal set operation in FreeBSD section of user module.
11 years ago
James Tanner 4f674ec522 Fixes #4554 Enumerate user homedir if not passed as an argument 11 years ago
Thomas Ronner aee68511e6 Fix illegal set operation in FreeBSD section of user module. 11 years ago
James Tanner 23cbdba65e Fixes #4350 Create homedirectory if create=yes and directory is missing 11 years ago
James Tanner e3849f1be7 Fixes #4312 for older versions of usermod which do not have --append 11 years ago
Michael DeHaan 119b6d73dd Remove examples of module antipattern of setting the choices array for boolean types. 11 years ago
Michael DeHaan 135f79f337 Add documentation about how passwords are generated. 11 years ago
Matt Warren 74c412e249 addresses https://github.com/ansible/ansible/issues/4371 - adding -m to home directory modification 11 years ago
Raul Melo 461858e476 Fix issue 3908. There was some ilegal operations over the sets 11 years ago
rishid 07ef8c4d84 Verify groups string is not empty before trying add user to groups 11 years ago
Michael DeHaan 3b3b600a98 Merge pull request #3470 from langemeijer/devel
Only append non_unique parameter if a uid is provided as well to user module
12 years ago
Casper Langemeijer 922a71fced Only append non_unique parameter if a uid is provided as well 12 years ago
Brian Coca 9f75397310 updated module docs to reflect 'correct' on_create vs on_creation
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Michael DeHaan 2eb3a9a3c9 Resolve docs conflict. 12 years ago
Michael DeHaan 572f49b11f Fix merge conflict. 12 years ago
Jan-Piet Mens 5c69918d53 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
12 years ago
trbs 3b3afe2283 Add support for Open and NetBSD platforms for user and group modules, including a new login_class parameter for FreeBSD, OpenBSD and NetBSD. 12 years ago
Michael DeHaan 47b9db0d98 Remove debug statement in previous patch. 12 years ago
trbs b537aff586 Fix for #3062 additional groups should only be added once.
Also consolidated duplicate groups code into one get_groups_set() method.
Removed unused call to user_group_membership.
Removed sorting operations on set functions cause sets are inherently unordered.
Minor style improvements to match the rest of the code.

The new function will make the order of group names passed to the system command less determistic.
Which was already the case for modify_user_usermod() but not for other methods.
It will also strip out duplicate group names automatically which was not always the case previously.
12 years ago
Scott Sturdivant 922a1efbc0 Fixes #2924: User creation always reports 'changed' 12 years ago
madema 58d59c180d -o and -r option don't exist on AIX 12 years ago
lonerr b2db6483ac Fixed errors in FreeBSD user manipulations. 12 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago