mavimo
cafc12c680
Double quoted version_added in documentation
12 years ago
Brian Coca
5ad3c0603d
now check moded returnes 'changed' instead of failure when there are
...
modifications needed.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
12 years ago
Serge van Ginderachter
cb2b7a4e17
rename user option nonunique tot non_unique
12 years ago
Serge van Ginderachter
f980ec37bb
Add nonunique option to user module, translating to the -o/--non-unique option to useradd and usermod.
12 years ago
Dag Wieers
50b7964f8e
Fix the documentation booleans so they use "yes" and "no"
...
Both modules seboolean and zfs have not been adapted since they defer from the default (either by having a 'null' or special state, or prefering "on"/"off" for state indication.
12 years ago
Michael DeHaan
bdb231213d
Add type casting to user/group modules, remove executable bit from other modules
12 years ago
Daniel Hokka Zakrisson
578ec127fb
Remove choices=BOOLEANS as it is no longer needed
12 years ago
Daniel Hokka Zakrisson
df798d0688
Use argument type checking to convert to boolean
12 years ago
Daniel Hokka Zakrisson
4a137641d2
check_mode is a module property
12 years ago
Michael DeHaan
8097fd18a2
'make pep8' is now clean
12 years ago
Michael DeHaan
fdbbb171ba
Teach the user module to understand check mode.
12 years ago
Michael DeHaan
a01525bd30
Merge branch 'aix-fixes' of git://github.com/dagwieers/ansible into devel
...
Conflicts:
library/setup
Tweak formatting.
12 years ago
Michael DeHaan
11c730c4ca
Merge branch 'devel' of git://github.com/trendels/ansible into testing
12 years ago
Mark Maas
6a89177a59
Added support for AIX 5.3 and 6.1
...
A collegue of mine has added basix AIX support to the setup, user and group modules.
We have tested this on AIX 5.3 and 6.1 and it works "as advertised"
12 years ago
Javier Candeira
ae81e3607f
fix remote execution NameError in module 'user'
12 years ago
Stanis Trendelenburg
8f70883541
Handle 'groups=' (empty string) in user module (Linux)
...
Makes it possible to remove a user from all but the primary group.
Setting 'groups=' is the equivalent to passing '-G ""' to
useradd/usermod, which is interpreted as "no group" on Linux.
12 years ago
Stephen Fromm
3fb21a5281
Update modules to use run_command in module_common.py
...
This updates apt, apt_repository, command, cron, easy_install, facter,
fireball, git, group, mount, ohai, pip, service, setup, subversion,
supervisorctl, svr4pkg, user, and yum to take advantage of run_command
in module_common.py.
12 years ago
Daniel Hokka Zakrisson
060266e291
Python 2.4 fixes for modules
12 years ago
Jan-Piet Mens
caf003c813
DOCUMENTATION strings
12 years ago
Michael DeHaan
663a8fef3f
chmod -x for all module files in source checkout
12 years ago
Romeo Theriault
ae36fb1dc6
minor linux user module fixups
12 years ago
Michael DeHaan
001e2e564f
Merge pull request #1590 from romeotheriault/minor-freebsd-user-module-fixes
...
minor freebsd user fixes
12 years ago
Romeo Theriault
6c6bcff4ee
minor freebsd user fixes
12 years ago
Romeo Theriault
3bab27abdb
Add solaris support to user module
12 years ago
Stephen Fromm
2fab846f17
Fix to user module to use self when calling group_exists
12 years ago
Nigel Metheringham
f905e751ac
FreeBSD user mod only fires when there are changes
...
Also fix missing -G on groups change
12 years ago
Nigel Metheringham
1ab1c8d374
Take SHADOWFILE from existing user object rather than class
12 years ago
Nigel Metheringham
75a2b2ba2d
Use the existing framework when running ssh_keygen
12 years ago
Nigel Metheringham
19402a47cd
Ensure user owns their ssh key directory on creation
...
Lost section from commit 8049777
12 years ago
Michael DeHaan
970d06e03b
Fix user example
12 years ago
Michael DeHaan
c96f2c968e
Merge branch 'nigelm_freebsd' of git://github.com/nigelm/ansible into merge-service
...
Make things more reusable, correct some errors along the SSH key path
Conflicts:
library/user
12 years ago
Nigel Metheringham
cdfa81d905
Added some documentation to the classes
12 years ago
Stephen Fromm
4619e99443
Make sure ownership is set correctly for user's new ssh keys
12 years ago
Nigel Metheringham
9a2545957f
Turn off some of the additional debug syslogging
12 years ago
Nigel Metheringham
3e0e572cce
Rework of user module to support portability
...
Split module into a main calling function, and a generic
(Linux useradd/usermod/userdel) User class.
Added a __new__ function that selects most appropriate superclass
Added a FreeBSD User class
Tested against FreeBSD 9.0
12 years ago
Michael DeHaan
523f2bf327
Merge pull request #1455 from bleader/devel
...
user module: fix typo in documentation
12 years ago
Michael DeHaan
06fa3e820d
Merge pull request #1448 from jpmens/user_user1
...
User is alias for name in 'user' module
12 years ago
bleader
5a5751d1d0
user module: fix typo in documentation
...
tyep -> type
Signed-off-by: bleader <bleader@ratonland.org>
12 years ago
Jan-Piet Mens
89f28a98dd
User is alias for name in 'user' module
12 years ago
Stephen Fromm
e97916cfc1
Skip check of primary group when checking other group membership
12 years ago
Jan-Piet Mens
82955606c4
fix DOCUMENTATION for user
12 years ago
Stephen Fromm
5d8c130a7f
Document ssh_key options are in version 0.9
12 years ago
Jan-Piet Mens
feab57e270
Reformat code: examples consistently
...
- added terse syntax to modules.rst
- added description of special variables to template module
12 years ago
Stephen Fromm
87954f2110
Use os.path.join where appropriate
12 years ago
Stephen Fromm
63ba441163
Add ability to create SSH key for user in user module
...
This allows one to create a SSH key for user. You may define:
ssh_key_type, ssh_key_bits, ssh_key_file, ssh_key_comment,
and ssh_key_passphrase. If no passphrase is provided, the
key will be passphrase-less. This will not overwrite an existing key.
In the JSON returned, it will provide the ssh_fingerprint and
ssh_key_file.
12 years ago
Luke Antins
0dbd3aa821
Add examples to user module documentation.
12 years ago
Michael DeHaan
621708e976
user module should be using module.BOOLEANS for choices
12 years ago
Jan-Piet Mens
e620fed755
Jumbo DOCUMENTATION patch
12 years ago
Stephen Fromm
be19e21126
Add module documentation for git, group, service, and user
12 years ago
Stephen Fromm
6742e9c3f4
Add option required=(True|False) to get_bin_path and update modules
...
Added required as optional argument to get_bin_path(). It defaults to
false. Updated following modules to use required=True when calling
get_bin_path(): apt_repository, easy_install, group, pip,
supervisorctl, and user.
Also removed _find_supervisorctl() from supervisorctl module and updated
_is_running() to not need it.
12 years ago