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.
2012-07-10 15:55:39 -07:00
2f11350665
modify user module so that password is NEVER logged before the command runs
2012-07-10 17:13:51 -04:00
7af3bdc89e
Added additional output to service status checker
2012-07-10 16:13:39 -04:00
def40d0389
Missing a colon in a YAML example.
2012-07-10 14:39:52 -03:00
3807e16cad
Adding the documentation for 'install-recommends' to APT.
2012-07-09 11:34:06 -07:00
238e4adba2
Merge pull request #559 from jkleint/iterative-md5
...
Use iterative MD5 hashing.
2012-07-09 11:03:59 -07:00
375a1eaf43
Use iterative MD5 hashing.
2012-07-09 13:27:47 -04:00
211f1e69c3
Merge branch 'change_to_using_hashlib_or_md5' of https://github.com/davehatton/ansible into devel
...
Conflicts:
lib/ansible/utils.py
2012-07-07 11:51:30 -04:00
55694db7c3
switch to hashlib.md5 or md5 instead of OS md5 commands
2012-07-09 08:52:00 +01:00
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)
2012-07-07 11:48:32 -04:00
c432f9bc74
Merge pull request #554 from davehatton/switch_to_using_hashlib_or_md5
...
Switch to using hashlib or md5
2012-07-09 04:47:02 -07:00
fb51805e1b
switch to using hashlib.md5 or md5 (if python 2.4) instead of a os call
2012-07-08 18:41:04 +01:00
19b43cd454
further md5 fixes
2012-07-08 17:39:57 +01:00
921bf3da9d
changelog update
2012-07-07 09:30:39 -04:00
0d28466b22
When sudo'ing to root, keep the setup file location as /etc/ansible/setup
2012-07-07 09:29:03 -04:00
c592fdf838
update changelog
2012-07-07 09:11:24 -04:00
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.
2012-07-07 09:10:18 -04:00
6c08913448
changelog updates
2012-07-07 08:49:15 -04:00
494077591a
changelog update
2012-07-07 08:47:32 -04:00
8220d57690
Clean up md5 functions + make the fetch module stay happy if the remote file does not exist.
2012-07-07 08:47:32 -04:00
b551eba6d4
Comment uncommented methods in utils
2012-07-07 08:47:32 -04:00
749472559b
Merge pull request #546 from pas256/devel
...
apt module to support --no-install-recommends
2012-07-07 05:00:42 -07:00
fed1e9870c
Assigning to boolean first
2012-07-06 18:05:15 -07:00
429d1108ce
Merge pull request #136 from pas256/patch-2
...
Issue 135: Updating to reflect reality
2012-07-06 18:04:51 -07:00
fced8cf6b0
Getting the apt module to accept and understand a 'install-recommends' parameter which allows running apt with --no-install-recommends
2012-07-06 12:12:04 -07:00
107784980e
Issue 135: Updating to reflect reality
2012-07-06 11:13:40 -07:00
1a151a581a
Merge pull request #542 from davehatton/copy_always_returns_changed_equals_true
...
copy module, return changed attribute seperate from md5sum
2012-07-06 07:06:14 -07:00
ecaa794f7f
copy always returned change=true
2012-07-06 13:43:19 +01:00
367dce9790
Merge pull request #537 from davehatton/bump_rpm_spec_to_0_6
...
bump rpm spec to 0.6
2012-07-05 05:37:35 -07:00
7c0ac3653d
bump rpm spec to 0.6
2012-07-05 07:18:43 +01:00
bd2a5724ec
update versions mentioned in README.md
2012-07-04 18:07:19 -04:00
a490213d45
Release bump to start development on 0.6
2012-07-04 18:07:19 -04:00
d3fa1c36a5
docs build + formatting fix on the modules page
2012-07-04 17:47:04 -04:00
6eb53ad540
misc doc updates for 0.5
2012-07-04 17:44:39 -04:00
c963278c58
Merge pull request #129 from goozbach/master
...
Add a global_vars file for use of all playbooks.
2012-07-04 11:31:14 -07:00
1669620379
Merge pull request #130 from jpalley/patch-1
...
Add/update documentation about magic variables.
2012-07-04 11:30:35 -07:00
e3aba7770f
Merge pull request #518 from brainpage/devel
...
adds 'groups' variable, essentially making hosts file accessible as a var
2012-07-04 11:28:46 -07:00
ea0c82d680
Merge pull request #534 from davehatton/switch_to_shutil_copy
...
switch to shutil.copy rather than os.system(cp)
2012-07-04 11:25:35 -07:00
0bbe0a8670
Bump dates in packaging files for release.
2012-07-04 13:37:46 -04:00
9d85a55434
switch to shutil.copy rather than os.system(cp)
2012-07-04 12:26:25 +01:00
bea2939deb
Merge pull request #532 from davehatton/allow_copy_if_file_doesnt_exist
...
md5 allow copy if file is missing
2012-07-03 12:41:20 -07:00
263fcab594
md5 allow copy if file is missing
2012-07-03 20:07:08 +01:00
ec0522a127
Merge pull request #531 from jeremysmitherman/devel
...
Added IndexError catch for copy module, IndexError is thrown if a destin...
2012-07-03 11:37:21 -07:00
3003aa2d47
Added IndexError catch for copy module, IndexError is thrown if a destination file doesn't exist
2012-07-03 14:12:19 -04:00
e0a1c5be42
Merge pull request #529 from davehatton/error_trapping_md5
...
improve error trapping for md5
2012-07-03 10:07:59 -07:00
24b91169d9
Merge pull request #530 from dhozac/templates-vars
...
Allow variables in variables in templates
2012-07-03 10:06:04 -07:00
9882dd56f6
Allow variables in variables in templates
2012-07-03 16:42:00 +02:00
d47de18b6c
improve error trapping for md5
2012-07-03 12:44:37 +01:00
73c89bced0
Merge pull request #526 from setsuna-/devel
...
Fixed: executing templates outside playbooks
2012-07-02 15:55:49 -07:00
f72b1f4fd7
Fixed: pathname for tmp
2012-07-02 22:04:56 +02:00