Commit graph

1110 commits

Author SHA1 Message Date
Michael DeHaan
efac68b636 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
Michael DeHaan
9efea6f7a2 Merge pull request #512 from jhoekx/yaml-inventory-one-host
Correctly add ungrouped hosts to 'ungrouped' in YAML inventory.
2012-06-27 05:03:31 -07:00
Jeroen Hoekx
d592e15dcc Correctly add ungrouped hosts to 'ungrouped' in YAML inventory. 2012-06-27 08:26:01 +02:00
Michael DeHaan
afb2e3e5ac Merge pull request #511 from dsummersl/devel
added ability to ovverride all ssh settings via ANSIBLE_SSH_ARGS
2012-06-26 15:28:49 -07:00
Dane Summers
37fce9c0f6 added ability to ovverride all ssh settings via ANSIBLE_SSH_ARGS 2012-06-26 14:59:42 -04:00
Michael DeHaan
91ad42ae75 Merge pull request #510 from ludovicc/devel
Add basic support for Solaris
2012-06-26 11:07:29 -07:00
Ludovic Claude
daf858648b Add basic support for Solaris 2012-06-26 19:49:26 +02:00
Michael DeHaan
8468e2255b Merge pull request #507 from jhoekx/convention-library-path
Add ./library to module search path.
2012-06-25 12:20:56 -07:00
Jeroen Hoekx
879ddddf6f Add ./library to module search path.
It allows for custom modules in the best practices directory structure.
Bundling custom modules along with playbooks in packages is useful.
2012-06-25 21:08:43 +02:00
Michael DeHaan
c2694986d8 Merge pull request #506 from jhoekx/import-errors-poller
Import ansible errors in Poller.
2012-06-25 11:58:16 -07:00
Michael DeHaan
c4b489ab1f Merge pull request #504 from gottwald/devel-copyfix
Copy module: Error handling for missing permissions on the copy destination.
2012-06-25 11:57:50 -07:00
Jeroen Hoekx
6c92d2fa88 Import ansible errors in Poller. 2012-06-25 20:48:35 +02:00
Ingo Gottwald
a42167ca73 Copy module: Extended error handling and fixed error messages 2012-06-25 20:45:05 +02:00
Ingo Gottwald
270266e920 Added to copy module: Error handling for missing permissions on the copy destination 2012-06-23 21:39:37 +02:00
Michael DeHaan
618924a24f Merge pull request #497 from davehatton/change_constants
shouldn't need a (slash) before /home/daveh
2012-06-22 12:01:15 -07:00
Michael DeHaan
81c69d7333 Merge pull request #500 from davehatton/change_to_use_stdout
change to STDOUT from PIPE to get ssh connection module working
2012-06-22 04:41:11 -07:00
Dave Hatton
d42df3a82e change to STDOUT from PIPE to get ssh connection module working 2012-06-22 12:37:23 +01:00
Michael DeHaan
6e60fc20c1 Merge pull request #498 from weaselkeeper/devel
fix syntax error in changelog that was preventing building of deb packag...
2012-06-21 11:50:34 -07:00
Jim Richardson
9be2a94045 fix syntax error in changelog that was preventing building of deb packages 2012-06-21 10:40:52 -07:00
Dave Hatton
d28bbe14ed shouldn't need a (slash) before /home/daveh 2012-06-21 15:37:43 +01:00
Michael DeHaan
54ac3dac34 Update devel 2012-06-21 10:03:01 -03:00
Michael DeHaan
a7dc1bf350 Update devel 2012-06-21 10:01:31 -03:00
Michael DeHaan
d9753a798a Update devel 2012-06-21 10:01:09 -03:00
Michael DeHaan
bdec9e7064 Merge pull request #496 from davehatton/fix_stderr
change STDOUT to PIPE  to get ssh connection module working
2012-06-21 06:00:07 -07:00
Dave Hatton
30d4f070a1 change STDOUT to PIPE to get ssh connection module working 2012-06-21 11:01:08 +01:00
Michael DeHaan
25083953fc Merge pull request #495 from nafeger/devel
make copy module implemented closer to other newer modules when returning results
2012-06-20 13:12:24 -07:00
Michael DeHaan
dc13265a70 Merge pull request #494 from dhozac/ssh-conn-helpful
Make the SSH transport helpful
2012-06-20 13:09:50 -07:00
Nathan A. Feger
26816b72ec attempt to make copy more idiomatic. 2012-06-20 14:17:15 -05:00
Daniel Hokka Zakrisson
fa887bc90f Merge stdout and stderr for non-sudo 2012-06-20 20:49:52 +02:00
Daniel Hokka Zakrisson
7884bc02ea Wait for process to finish and then parse output 2012-06-20 20:49:52 +02:00
Seth Vidal
dca75033fe add -q to handle stdout/stderr being combined, add catch for ControlPersist not existing in ssh for rhel6, etc 2012-06-20 14:06:24 -04:00
Michael DeHaan
9662902c31 Merge pull request #492 from dhozac/unnecessary-parse_json
Remove unnecessary parse_json invocation
2012-06-20 10:26:17 -07:00
Michael DeHaan
071978a2e7 Merge pull request #493 from dhozac/ssh-merge-stdouterr
Merge stdout and stderr as that is what is expected
2012-06-20 10:24:32 -07:00
Daniel Hokka Zakrisson
f5ecd075f7 Remove unnecessary parse_json invocation 2012-06-20 14:54:36 +02:00
Michael DeHaan
12825edae1 update the changelog for the currently ongoing development release. 2012-06-19 21:20:17 -04:00
Michael DeHaan
980c9d2d8c Merge pull request #483 from gottwald/devel-service-enhancement
Enhanced the service state recognition in the service module
2012-06-19 17:34:02 -07:00
Michael DeHaan
bd653c8f3c Merge pull request #488 from dhozac/jinja2-env
Create a Jinja2 environment allowing includes
2012-06-19 13:09:02 -07:00
Michael DeHaan
e0f12292d8 Merge pull request #489 from dhozac/ssh-args-default
Default to using a ControlMaster connection
2012-06-19 13:01:09 -07:00
Daniel Hokka Zakrisson
7f6359b143 Default to using a ControlMaster connection 2012-06-19 21:58:24 +02:00
Daniel Hokka Zakrisson
d08ba12a42 Merge stdout and stderr as that is what is expected
Should also fix problems where something might output an error
before the sudo prompt.
2012-06-19 21:55:00 +02:00
Michael DeHaan
97cdc7ae82 Merge pull request #487 from davehatton/fix_changelog_date
The changelog entry requires a valid date
2012-06-19 05:20:45 -07:00
Dave Hatton
a30f5461da The changelog entry requires a valid date 2012-06-19 10:51:22 +01:00
Michael DeHaan
b02959d64f Merge pull request #486 from skvidal/devel
make Runner options conflict errors raise AnsibleErrors not traceback in...
2012-06-18 13:42:40 -07:00
Seth Vidal
1ec518543e make Runner options conflict errors raise AnsibleErrors not traceback in general
add catch if -c ssh and -k are passed at the same time since the ssh connection type doesn't
support passwords
2012-06-18 15:48:19 -04:00
Michael DeHaan
aa18e66987 Merge pull request #485 from dhozac/ssh-conn
Add an ssh command wrapper transport
2012-06-18 11:17:53 -07:00
Daniel Hokka Zakrisson
031c75e53a Update tests to reflect new API 2012-06-18 00:13:12 +02:00
Daniel Hokka Zakrisson
9f93839d13 Create a Jinja2 environment allowing includes 2012-06-17 22:18:08 +02:00
Daniel Hokka Zakrisson
ab08fea1aa Add an ssh command wrapper transport 2012-06-17 20:34:17 +02:00
Ingo Gottwald
abe33a5881 Enhanced the service state recognition in the service module:
- Added Upstart support
- Added an initial unknown state
- Prevented state changes when the current state is not recognized
- Changed the keyword recognition to a safer method
2012-06-17 15:55:26 +02:00
Michael DeHaan
2cabbd50fc Merge pull request #482 from dhozac/iterative-template
Iterative template
2012-06-16 11:13:11 -07:00