Stephen Fromm
09f025b7a0
Fixes to user module for better error handling
...
The user module now returns the output, both stdout and stderr, from
useradd, usermod, and userdel. This should help debug cases why one of
those commands fail. In addition, the user module will now call
fail_json() when the attempted command failed so as to properly
communicate a failure in a playbook.
13 years ago
Seth Vidal
2f11350665
modify user module so that password is NEVER logged before the command runs
13 years ago
Jeremy Smitherman
7af3bdc89e
Added additional output to service status checker
13 years ago
Michael DeHaan
238e4adba2
Merge pull request #559 from jkleint/iterative-md5
...
Use iterative MD5 hashing.
13 years ago
John Kleint
375a1eaf43
Use iterative MD5 hashing.
13 years ago
Michael DeHaan
211f1e69c3
Merge branch 'change_to_using_hashlib_or_md5' of https://github.com/davehatton/ansible into devel
...
Conflicts:
lib/ansible/utils.py
13 years ago
Dave Hatton
55694db7c3
switch to hashlib.md5 or md5 instead of OS md5 commands
13 years ago
Michael DeHaan
f39b99f823
Revert "switch to using hashlib.md5 or md5 (if python 2.4) instead of a os call"
...
This reverts commit 865796c368
.
(Superseeded by next commit)
13 years ago
Michael DeHaan
c432f9bc74
Merge pull request #554 from davehatton/switch_to_using_hashlib_or_md5
...
Switch to using hashlib or md5
13 years ago
Dave Hatton
fb51805e1b
switch to using hashlib.md5 or md5 (if python 2.4) instead of a os call
13 years ago
Dave Hatton
19b43cd454
further md5 fixes
13 years ago
Michael DeHaan
921bf3da9d
changelog update
13 years ago
Michael DeHaan
0d28466b22
When sudo'ing to root, keep the setup file location as /etc/ansible/setup
13 years ago
Michael DeHaan
c592fdf838
update changelog
13 years ago
Michael DeHaan
c2b8fabf66
Take a remote md5sum before a file transfer to decide whether to transfer the file or not.
...
Allows for efficient transfer of large files. Templates do not sample first because they are small.
13 years ago
Michael DeHaan
6c08913448
changelog updates
13 years ago
Michael DeHaan
494077591a
changelog update
13 years ago
Michael DeHaan
8220d57690
Clean up md5 functions + make the fetch module stay happy if the remote file does not exist.
13 years ago
Michael DeHaan
b551eba6d4
Comment uncommented methods in utils
13 years ago
Michael DeHaan
749472559b
Merge pull request #546 from pas256/devel
...
apt module to support --no-install-recommends
13 years ago
Peter Sankauskas
fed1e9870c
Assigning to boolean first
13 years ago
Peter Sankauskas
fced8cf6b0
Getting the apt module to accept and understand a 'install-recommends' parameter which allows running apt with --no-install-recommends
13 years ago
Michael DeHaan
1a151a581a
Merge pull request #542 from davehatton/copy_always_returns_changed_equals_true
...
copy module, return changed attribute seperate from md5sum
13 years ago
Dave Hatton
ecaa794f7f
copy always returned change=true
13 years ago
Michael DeHaan
367dce9790
Merge pull request #537 from davehatton/bump_rpm_spec_to_0_6
...
bump rpm spec to 0.6
13 years ago
Dave Hatton
7c0ac3653d
bump rpm spec to 0.6
13 years ago
Michael DeHaan
bd2a5724ec
update versions mentioned in README.md
13 years ago
Michael DeHaan
a490213d45
Release bump to start development on 0.6
13 years ago
Michael DeHaan
e3aba7770f
Merge pull request #518 from brainpage/devel
...
adds 'groups' variable, essentially making hosts file accessible as a var
13 years ago
Michael DeHaan
ea0c82d680
Merge pull request #534 from davehatton/switch_to_shutil_copy
...
switch to shutil.copy rather than os.system(cp)
13 years ago
Michael DeHaan
0bbe0a8670
Bump dates in packaging files for release.
13 years ago
Dave Hatton
9d85a55434
switch to shutil.copy rather than os.system(cp)
13 years ago
Michael DeHaan
bea2939deb
Merge pull request #532 from davehatton/allow_copy_if_file_doesnt_exist
...
md5 allow copy if file is missing
13 years ago
Dave Hatton
263fcab594
md5 allow copy if file is missing
13 years ago
Michael DeHaan
ec0522a127
Merge pull request #531 from jeremysmitherman/devel
...
Added IndexError catch for copy module, IndexError is thrown if a destin...
13 years ago
Jeremy Smitherman
3003aa2d47
Added IndexError catch for copy module, IndexError is thrown if a destination file doesn't exist
13 years ago
Michael DeHaan
e0a1c5be42
Merge pull request #529 from davehatton/error_trapping_md5
...
improve error trapping for md5
13 years ago
Michael DeHaan
24b91169d9
Merge pull request #530 from dhozac/templates-vars
...
Allow variables in variables in templates
13 years ago
Daniel Hokka Zakrisson
9882dd56f6
Allow variables in variables in templates
13 years ago
Dave Hatton
d47de18b6c
improve error trapping for md5
13 years ago
Michael DeHaan
73c89bced0
Merge pull request #526 from setsuna-/devel
...
Fixed: executing templates outside playbooks
13 years ago
alex
f72b1f4fd7
Fixed: pathname for tmp
13 years ago
Michael DeHaan
9ad622946a
Merge pull request #524 from bradobro/authorized_key
...
Authorized key fixes
13 years ago
alex
bbf2939063
Fixed: executing templates outside playbooks
13 years ago
Brad Olson
be9ff7ff46
Fixes ansible/ansible#522 , no longer creates comment in ~/.ssh/authorized_keys, does not create directory or file if state==absent.
13 years ago
Brad Olson
756df550f8
Fixes ansible/ansible#523 . Removed 'with:' blocks so module works with Python 2.4 for CentOS 5 support, courtesy of mcodd/ansible@29af24b732 .
13 years ago
Michael DeHaan
9714f5c79d
Merge pull request #517 from goozbach/devel
...
Updated the file module to handle the case where the UID for the file doesn't exist on the system.
13 years ago
Derek Carter
fc4ae3e270
remove UID/GID from output
13 years ago
Jonathan Palley
cedbcfcc0a
adds 'groups' variable, essentially making hosts file accessible as a variable
13 years ago
Derek Carter
a548769792
removed print from debug code of file module
13 years ago