Stephen Fromm
4ae3bee416
Add --limit to calls to ansible and ansible-playbook
...
--limit takes localhost, FQDN, and 127.0.0.1.
2012-11-11 00:13:59 -08:00
Michael DeHaan
40e49b6a5a
Merge pull request #1592 from jpmens/lookup_dnstxt3
...
$LOOKUP(dnstxt): handle exceptions
2012-11-10 08:52:30 -08:00
Jan-Piet Mens
bd55899a60
$LOOKUP(dnstxt): handle exceptions
...
de-spaced
2012-11-10 17:50:21 +01:00
Michael DeHaan
001e2e564f
Merge pull request #1590 from romeotheriault/minor-freebsd-user-module-fixes
...
minor freebsd user fixes
2012-11-10 06:33:13 -08:00
Michael DeHaan
80f196fdbc
Merge pull request #1589 from romeotheriault/add-sunos-user-support
...
Add solaris support to user module
2012-11-10 06:32:41 -08:00
Michael DeHaan
db3e8c0803
Merge pull request #1579 from jpmens/lookup_env
...
Add environment $LOOKUP plugin
2012-11-10 06:30:37 -08:00
Michael DeHaan
35679e0093
Merge pull request #1578 from jpmens/lookup_redis
...
Add Redis GET $LOOKUP plugin
2012-11-10 06:30:10 -08:00
Romeo Theriault
6c6bcff4ee
minor freebsd user fixes
2012-11-09 22:29:45 -10:00
Romeo Theriault
3bab27abdb
Add solaris support to user module
2012-11-09 21:58:51 -10:00
Jan-Piet Mens
6efc98e8a3
Add environment $LOOKUP plugin
...
remove support for multiple vars
2012-11-10 08:26:09 +01:00
Jan-Piet Mens
e3e545418d
Add Redis GET $LOOKUP plugin
...
renamed
2012-11-10 08:21:48 +01:00
Michael DeHaan
89f5a72a98
Merge pull request #1582 from jpmens/utils_docparser1
...
Move get_docstring from module_formatter into ansible/utils
2012-11-09 20:36:08 -08:00
Michael DeHaan
0521cbc801
Merge pull request #1584 from arrfab/docsite-contribs
...
Added jp_mens' presentation and removed dead links
2012-11-09 15:48:00 -08:00
Fabian Arrotin
fba75aac0a
Added Action.IO to who_uses_ansible and ansible-provisioning to contribs
2012-11-09 17:52:54 +01:00
Fabian Arrotin
2b3aeda33b
Added jp_mens' presentation and removed dead links
2012-11-09 17:30:36 +01:00
Jan-Piet Mens
e32f4a0564
Move get_docstring from module_formatter into ansible/utils
2012-11-09 17:15:41 +01:00
Michael DeHaan
2ff3fc6aa2
Merge pull request #1576 from vanne/devel
...
Fix exception catching for Python 2.4
2012-11-09 05:35:10 -08:00
Yvan Cottyn
e9a356bbde
Fix exception catching for Python 2.4
2012-11-09 14:28:21 +01:00
Yvan Cottyn
37de471ab6
Fix exception catching for Python 2.4
2012-11-09 14:27:03 +01:00
Michael DeHaan
325025a5b6
Merge pull request #1574 from dhozac/ssh-moar-data
...
Make sure we get all data
2012-11-09 05:08:27 -08:00
Michael DeHaan
09cde86e83
Merge pull request #1571 from skvidal/ec2
...
add ec2 module
2012-11-09 04:53:03 -08:00
Michael DeHaan
fa17540a06
Merge pull request #1570 from skvidal/addhost
...
Addhost module
2012-11-09 04:51:15 -08:00
Michael DeHaan
5989a1c13c
Merge pull request #1565 from miekg/debreadme
...
Add some python packages too
2012-11-09 04:50:26 -08:00
Michael DeHaan
718a9af3f2
Merge pull request #1573 from jpmens/lookup_dnstxt
...
Add DNS TXT record $LOOKUP plugin
2012-11-09 04:50:16 -08:00
Daniel Hokka Zakrisson
e97a22603f
Make sure we get all data
2012-11-09 11:24:57 +01:00
Jan-Piet Mens
38d9dc8bff
Add DNS TXT record LOOKUP plugin
2012-11-09 11:06:49 +01:00
Seth Vidal
70d61fe7e8
need to use the variabled results
2012-11-09 00:16:17 -05:00
Seth Vidal
e147ad4213
add add_host action plugin - add hosts to inventory during a playbook
...
run - lets act on those hosts in the next play
2012-11-09 00:16:17 -05:00
Seth Vidal
7e0cb4f052
add ec2 module
2012-11-09 00:15:12 -05:00
Michael DeHaan
35d841f780
Merge pull request #1569 from dagwieers/svr4pkg-doc-fix
...
Documentation of svr4pkg module breaks 'make rpm'
2012-11-08 17:47:25 -08:00
Dag Wieers
2fdb217be3
Documentation of svr4pkg module breaks 'make rpm'
...
Without this fix, generating documentation results in:
```
Traceback (most recent call last):
File "hacking/module_formatter.py", line 376, in <module>
main()
File "hacking/module_formatter.py", line 365, in main
text = template.render(doc)
File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 669, in render
return self.environment.handle_exception(exc_info, True)
File "hacking/templates/man.j2", line 20, in top-level template code
{% for desc in v.description %}@{ desc | jpfunc }@{% endfor %}
File "hacking/module_formatter.py", line 94, in man_ify
t = _ITALIC.sub(r'\\fI' + r"\1" + r"\\fR", text)
TypeError: expected string or buffer
```
2012-11-09 02:22:20 +01:00
Michael DeHaan
03591e0fc8
Merge pull request #1551 from dagwieers/local_action-fail
...
Turn 'fail' and 'debug' modules into action_plugins
2012-11-08 16:47:24 -08:00
Michael DeHaan
f3cbcecf53
Merge pull request #1563 from lllama/devel
...
Add an "executable" option to the command and shell modules
2012-11-08 16:45:48 -08:00
Michael DeHaan
a31ca213a5
Merge pull request #1562 from dagwieers/oneline-fix
...
Make --oneline return one line (except with multiline output)
2012-11-08 16:45:33 -08:00
Michael DeHaan
03f4b0f923
Merge pull request #1560 from dagwieers/module-output-consistency
...
Make module output more consistent wrt. changed/failed
2012-11-08 16:45:05 -08:00
Michael DeHaan
cbff02139f
Merge pull request #1557 from sfromm/issue1412
...
Updates to git module: use git-fetch and other changes
2012-11-08 16:44:00 -08:00
Michael DeHaan
42375d14b3
Merge pull request #1556 from sfromm/issue1099
...
Wrap getpwnam in try/except in authorized_key module
2012-11-08 16:43:45 -08:00
Michael DeHaan
603a5a0803
Merge pull request #1555 from pas256/devel
...
Handle instances without keypairs
2012-11-08 16:43:30 -08:00
Michael DeHaan
b79b8e5a99
Merge pull request #1545 from brontitall/svr4pkg
...
Add svr4pkg module for traditional Solaris packages
2012-11-08 16:43:03 -08:00
Michael DeHaan
3dc31a049f
Merge pull request #1527 from fdavis/devel
...
Support scp in an ssh connection
2012-11-08 16:42:37 -08:00
Boyd Adamson
528a457848
Add svr4pkg module for traditional Solaris packages
2012-11-09 09:43:19 +11:00
fdavis
b91896ff55
move scp_if_ssh to the ssh connection category
2012-11-08 11:51:24 -08:00
Miek Gieben
5c62cf3285
Add some python packages too
...
When starting from scratch those packages must be installed too.
2012-11-08 20:28:32 +01:00
Felix Ingram
e0f0e8c023
Add an "executable" option to the command and shell modules
...
The option will be passed to the Popen object created and will be used to
execute the command instead of the default shell.
2012-11-08 13:56:16 +00:00
Dag Wieers
d42eb2563b
Make --oneline return one line (except with multiline output)
...
Currently the message prepared for --oneline mode adds a newline to the msg-string, which is then printed (adding another newline). This change removes the added newline so that successes and failures do not differ in output (except if the output is multiline).
2012-11-08 14:49:40 +01:00
Dag Wieers
fe0c70fe9d
Make module output more consistent wrt. changed/failed
...
- Make sure exit_json() always returns a changed= value
- Modify the yum module to not return failed=False
- Modify install() and latest() similar to remove() in yum module
- Changed exit_json(failed=True, **res) into a fail_json(**res)
- Make sure yum rc= value reflects loop (similar to how we fixed remove())
2012-11-08 12:28:18 +01:00
Peter Sankauskas
39efcd0766
While I haven't done this, it is possible to bring up an instance
...
without a keypair, so this takes care of that scenario
2012-11-07 16:56:45 -08:00
Stephen Fromm
3ec64d19a8
Wrap getpwnam in try/except in authorized_key module
...
This also adds module as an argument to keyfile().
2012-11-07 16:43:09 -08:00
Stephen Fromm
6aa51a7cf3
Rewrite switch_version() to detect branch
...
Rewrote switch_version() to read .git/HEAD to find branch associated
with HEAD. If in a detached HEAD state, will read
.git/refs/remotes/<remote>/HEAD.
2012-11-07 16:33:22 -08:00
Michael DeHaan
36c1b4be0e
Merge pull request #1554 from dagwieers/rpm-name-fix
...
Fix broken RPM names due to static _rpmfilename
2012-11-07 16:22:07 -08:00