Michael DeHaan
bcd0001cb1
Bring the cobbler external inventory script up to date with current usage (--list, --host hostname)
2012-07-12 01:05:49 -04:00
Michael DeHaan
611e5b0c90
Make adding tags to a playbook work as shorthand to tagging all tasks in the play.
2012-07-12 00:58:48 -04:00
Michael DeHaan
cf313cde96
Soft import of paramiko since we have the SSH and local connection types now. Packaging will still
...
require it.
2012-07-12 00:43:51 -04:00
Michael DeHaan
a765deccce
Allow top level playbook files to import other playbook files, added some basic
...
playbook structure checking.
2012-07-12 00:19:44 -04:00
Michael DeHaan
87e911c405
changelog update
2012-07-11 20:51:07 -04:00
Michael DeHaan
dc4ebab345
Merge pull request #576 from davehatton/adjust_playbook_output_formating
...
improve output formating for playbook
2012-07-11 17:42:39 -07:00
Michael DeHaan
969c3feb13
Allow include statements from plays to specify tags (see tags.yml example file).
...
Also be smart and don't run a play at all if no tasks in the play match any of the tags specified. This includes not running the setup actions!
2012-07-11 20:33:46 -04:00
Michael DeHaan
83f23ef861
Basic support for tagging tasks and selecting a subset of tasks to run with --tags.
2012-07-11 19:51:26 -04:00
Michael DeHaan
fd7e96d33e
Merge pull request #578 from jeremysmitherman/boolean_parameters
...
Removed boolean parameter setting from user module.
2012-07-11 10:58:09 -07:00
Michael DeHaan
626e4cb003
Merge pull request #572 from goozbach/devel
...
fixes #569 apt module problems on old versions of apt-python
2012-07-11 10:53:29 -07:00
Jeremy Smitherman
ecacb67d31
Added yes/no to user options instead of False comparison for force and remove options for user module
2012-07-11 12:16:40 -04:00
Michael DeHaan
3f5c4772be
Merge pull request #575 from jeremysmitherman/apt-force
...
Added cmd modifications to use a force-yes option for apt module
2012-07-11 07:16:40 -07:00
Michael DeHaan
949f8b8fc5
Merge pull request #571 from sfromm/group
...
Group module fixes
2012-07-11 05:27:56 -07:00
Michael DeHaan
36177cc935
Merge pull request #573 from sfromm/user
...
Minor tweak to user module
2012-07-11 05:26:26 -07:00
Dave Hatton
7ecdb83800
improve output formating for playbook
2012-07-11 09:35:10 +01:00
Jeremy Smitherman
a35a0f885e
Added cmd modifications to use a force-yes option for apt module
2012-07-10 22:22:52 -04:00
Derek Carter
f38b9d1ca7
added filter for future warning
2012-07-10 19:50:08 -04:00
Stephen Fromm
ac3341cc12
Minor fix to user module to further streamline setting 'changed' flag
2012-07-10 16:37:07 -07:00
Derek Carter
e261d49acc
fixes #569 apt module problems on old versions of apt-python (namely debian 5.0)
2012-07-10 19:28:14 -04:00
Stephen Fromm
3a5f2126a6
Fixes to group module for better error handling
...
Takes a lot of the fixes to the user module and applies them to the
group module: provide stdout/stderr in result if available and call
fail_json() if the attempted action fails.
2012-07-10 16:18:53 -07:00
Michael DeHaan
3235da074e
Merge pull request #568 from sfromm/user
...
User modules fixes
2012-07-10 16:04:17 -07:00
Michael DeHaan
8bb41bc627
Merge pull request #566 from jeremysmitherman/service-no-pid
...
Added additional output to service status checker
2012-07-10 16:03:51 -07:00
Michael DeHaan
25986fa181
Merge pull request #567 from skvidal/devel
...
modify user module so that password is NEVER logged before the command runs
2012-07-10 16:03:22 -07:00
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.
2012-07-10 15:55:39 -07:00
Seth Vidal
2f11350665
modify user module so that password is NEVER logged before the command runs
2012-07-10 17:13:51 -04:00
Jeremy Smitherman
7af3bdc89e
Added additional output to service status checker
2012-07-10 16:13:39 -04:00
Michael DeHaan
238e4adba2
Merge pull request #559 from jkleint/iterative-md5
...
Use iterative MD5 hashing.
2012-07-09 11:03:59 -07:00
John Kleint
375a1eaf43
Use iterative MD5 hashing.
2012-07-09 13:27:47 -04:00
Michael DeHaan
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
Dave Hatton
55694db7c3
switch to hashlib.md5 or md5 instead of OS md5 commands
2012-07-09 08:52:00 +01:00
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)
2012-07-07 11:48:32 -04:00
Michael DeHaan
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
Dave Hatton
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
Dave Hatton
19b43cd454
further md5 fixes
2012-07-08 17:39:57 +01:00
Michael DeHaan
921bf3da9d
changelog update
2012-07-07 09:30:39 -04:00
Michael DeHaan
0d28466b22
When sudo'ing to root, keep the setup file location as /etc/ansible/setup
2012-07-07 09:29:03 -04:00
Michael DeHaan
c592fdf838
update changelog
2012-07-07 09:11:24 -04:00
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.
2012-07-07 09:10:18 -04:00
Michael DeHaan
6c08913448
changelog updates
2012-07-07 08:49:15 -04:00
Michael DeHaan
494077591a
changelog update
2012-07-07 08:47:32 -04:00
Michael DeHaan
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
Michael DeHaan
b551eba6d4
Comment uncommented methods in utils
2012-07-07 08:47:32 -04:00
Michael DeHaan
749472559b
Merge pull request #546 from pas256/devel
...
apt module to support --no-install-recommends
2012-07-07 05:00:42 -07:00
Peter Sankauskas
fed1e9870c
Assigning to boolean first
2012-07-06 18:05:15 -07:00
Peter Sankauskas
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
Michael DeHaan
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
Dave Hatton
ecaa794f7f
copy always returned change=true
2012-07-06 13:43:19 +01:00
Michael DeHaan
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
Dave Hatton
7c0ac3653d
bump rpm spec to 0.6
2012-07-05 07:18:43 +01:00
Michael DeHaan
bd2a5724ec
update versions mentioned in README.md
2012-07-04 18:07:19 -04:00