Commit Graph

23 Commits (d9147bc0e0addce7ca2870f4e1fa81ea30a9a80c)

Author SHA1 Message Date
Michael DeHaan a6aeb12c8c Merge pull request #4560 from tronner/issue4461
Fix illegal set operation in FreeBSD section of user module.
11 years ago
James Tanner 54781bdfe1 Fixes #4554 Enumerate user homedir if not passed as an argument 11 years ago
Thomas Ronner 3b45cb366f Fix illegal set operation in FreeBSD section of user module. 11 years ago
James Tanner 798dba436a Fixes #4350 Create homedirectory if create=yes and directory is missing 11 years ago
James Tanner 74833f730b Fixes #4312 for older versions of usermod which do not have --append 11 years ago
Michael DeHaan beae21dd40 Remove examples of module antipattern of setting the choices array for boolean types. 11 years ago
Michael DeHaan d1b9ca4427 Add documentation about how passwords are generated. 11 years ago
Matt Warren f40a1e0eae addresses https://github.com/ansible/ansible/issues/4371 - adding -m to home directory modification 11 years ago
Raul Melo b0ffba472f Fix issue 3908. There was some ilegal operations over the sets 11 years ago
rishid fea38f44ac Verify groups string is not empty before trying add user to groups 11 years ago
Michael DeHaan 517c318989 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 8727f0ce11 Only append non_unique parameter if a uid is provided as well 12 years ago
Brian Coca b494d6d2ae 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 3840c608da Resolve docs conflict. 12 years ago
Michael DeHaan 4a7f0eeccc Fix merge conflict. 12 years ago
Jan-Piet Mens 3404a0fc16 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 a31ba582b4 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 10c905e3e2 Remove debug statement in previous patch. 12 years ago
trbs 1f673450cd 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 ffb50dfb34 Fixes #2924: User creation always reports 'changed' 12 years ago
madema 973eb69911 -o and -r option don't exist on AIX 12 years ago
lonerr 2a8ef8a87c Fixed errors in FreeBSD user manipulations. 12 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago