Commit graph

1109 commits

Author SHA1 Message Date
Michael DeHaan
313fd17a73 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
Dave Hatton
87e83be826 switch to hashlib.md5 or md5 instead of OS md5 commands 2012-07-09 08:52:00 +01:00
Michael DeHaan
c150e9f14f 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
Michael DeHaan
5211b58a98 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
Dave Hatton
865796c368 switch to using hashlib.md5 or md5 (if python 2.4) instead of a os call 2012-07-08 18:41:04 +01:00
Dave Hatton
6e6d01799e further md5 fixes 2012-07-08 17:39:57 +01:00
Michael DeHaan
f3e2c7099f changelog update 2012-07-07 09:30:39 -04:00
Michael DeHaan
79e47f53dd When sudo'ing to root, keep the setup file location as /etc/ansible/setup 2012-07-07 09:29:03 -04:00
Michael DeHaan
b8d9419d38 update changelog 2012-07-07 09:11:24 -04:00
Michael DeHaan
d8999800d1 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
Michael DeHaan
9cefd8f04f changelog updates 2012-07-07 08:49:15 -04:00
Michael DeHaan
fefe31f0ce changelog update 2012-07-07 08:47:32 -04:00
Michael DeHaan
ceae1857b6 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
Michael DeHaan
dc95385b38 Comment uncommented methods in utils 2012-07-07 08:47:32 -04:00
Michael DeHaan
f4e21aa96c Merge pull request #546 from pas256/devel
apt module to support --no-install-recommends
2012-07-07 05:00:42 -07:00
Peter Sankauskas
444c02ac82 Assigning to boolean first 2012-07-06 18:05:15 -07:00
Peter Sankauskas
9e850ceba3 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
Michael DeHaan
f870785686 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
Dave Hatton
768e71e766 copy always returned change=true 2012-07-06 13:43:19 +01:00
Michael DeHaan
6493206bcb 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
Dave Hatton
38161ae90f bump rpm spec to 0.6 2012-07-05 07:18:43 +01:00
Michael DeHaan
05c8a85cd5 update versions mentioned in README.md 2012-07-04 18:07:19 -04:00
Michael DeHaan
5c239effca Release bump to start development on 0.6 2012-07-04 18:07:19 -04:00
Michael DeHaan
fb0abbe800 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
Michael DeHaan
44ae8da16e 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
Michael DeHaan
22f3967f2c Bump dates in packaging files for release. 2012-07-04 13:37:46 -04:00
Dave Hatton
76cd590df4 switch to shutil.copy rather than os.system(cp) 2012-07-04 12:26:25 +01:00
Michael DeHaan
25504e1ae3 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
Dave Hatton
3350868093 md5 allow copy if file is missing 2012-07-03 20:07:08 +01:00
Michael DeHaan
c5d10330f0 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
Jeremy Smitherman
3b3720287c Added IndexError catch for copy module, IndexError is thrown if a destination file doesn't exist 2012-07-03 14:12:19 -04:00
Michael DeHaan
035b9535db Merge pull request #529 from davehatton/error_trapping_md5
improve error trapping for md5
2012-07-03 10:07:59 -07:00
Michael DeHaan
05121bf380 Merge pull request #530 from dhozac/templates-vars
Allow variables in variables in templates
2012-07-03 10:06:04 -07:00
Daniel Hokka Zakrisson
aba1fe8731 Allow variables in variables in templates 2012-07-03 16:42:00 +02:00
Dave Hatton
345499c002 improve error trapping for md5 2012-07-03 12:44:37 +01:00
Michael DeHaan
12bb0859f3 Merge pull request #526 from setsuna-/devel
Fixed: executing templates outside playbooks
2012-07-02 15:55:49 -07:00
alex
d3b2b2f6f7 Fixed: pathname for tmp 2012-07-02 22:04:56 +02:00
Michael DeHaan
5bf780737a Merge pull request #524 from bradobro/authorized_key
Authorized key fixes
2012-07-02 12:39:42 -07:00
alex
fa1c0e3ceb Fixed: executing templates outside playbooks 2012-07-02 21:34:11 +02:00
Brad Olson
5e88673afe Fixes ansible/ansible#522, no longer creates comment in ~/.ssh/authorized_keys, does not create directory or file if state==absent. 2012-07-02 19:16:57 +00:00
Brad Olson
84aabe25d3 Fixes ansible/ansible#523. Removed 'with:' blocks so module works with Python 2.4 for CentOS 5 support, courtesy of mcodd/ansible@29af24b732. 2012-07-02 17:57:38 +00:00
Michael DeHaan
9fe39be90d 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.
2012-07-02 05:18:29 -07:00
Derek Carter
aff0403a0e remove UID/GID from output 2012-07-01 17:38:17 -04:00
Jonathan Palley
e827782f81 adds 'groups' variable, essentially making hosts file accessible as a variable 2012-07-01 15:04:53 +08:00
Derek Carter
c532a1c978 removed print from debug code of file module 2012-06-29 21:38:31 -04:00
Derek Carter
f5259eead3 file when UID or GID doesn't exist 2012-06-29 20:05:23 -04:00
Michael DeHaan
f70885afb0 Add some recent merges to the changelog 2012-06-29 18:56:49 -04:00
Michael DeHaan
5f1c7c8e24 Fix up the output of the raw module when run within /usr/bin/ansible 2012-06-29 18:48:37 -04:00
Michael DeHaan
834a56ffd7 update changelog 2012-06-29 18:44:09 -04:00
Michael DeHaan
81adae619a Remove the -D module debug flag, which no longer is functional due to sudo pty requirements, and replace with -v/--verbose.
This flag will show playbook output from non-failing commands.  -v is also added to /usr/bin/ansible, but not  yet used.

I also gutted some internals code dealing with 'invocations' which allowed the callback to know what module invoked
it.  This is not something 0.5 does or needed, so callbacks have been simplified.
2012-06-19 21:57:43 -04:00