Commit Graph

3194 Commits (2b3aeda33bdf3ecee34d6161b255ca4e0bb2fac9)
 

Author SHA1 Message Date
Fabian Arrotin 2b3aeda33b Added jp_mens' presentation and removed dead links 12 years ago
Michael DeHaan 2ff3fc6aa2 Merge pull request #1576 from vanne/devel
Fix exception catching for Python 2.4
12 years ago
Yvan Cottyn e9a356bbde Fix exception catching for Python 2.4 12 years ago
Yvan Cottyn 37de471ab6 Fix exception catching for Python 2.4 12 years ago
Michael DeHaan 325025a5b6 Merge pull request #1574 from dhozac/ssh-moar-data
Make sure we get all data
12 years ago
Michael DeHaan 09cde86e83 Merge pull request #1571 from skvidal/ec2
add ec2 module
12 years ago
Michael DeHaan fa17540a06 Merge pull request #1570 from skvidal/addhost
Addhost module
12 years ago
Michael DeHaan 5989a1c13c Merge pull request #1565 from miekg/debreadme
Add some python packages too
12 years ago
Michael DeHaan 718a9af3f2 Merge pull request #1573 from jpmens/lookup_dnstxt
Add DNS TXT record $LOOKUP plugin
12 years ago
Daniel Hokka Zakrisson e97a22603f Make sure we get all data 12 years ago
Jan-Piet Mens 38d9dc8bff Add DNS TXT record LOOKUP plugin 12 years ago
Seth Vidal 70d61fe7e8 need to use the variabled results 12 years ago
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
12 years ago
Seth Vidal 7e0cb4f052 add ec2 module 12 years ago
Michael DeHaan 35d841f780 Merge pull request #1569 from dagwieers/svr4pkg-doc-fix
Documentation of svr4pkg module breaks 'make rpm'
12 years ago
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
```
12 years ago
Michael DeHaan 03591e0fc8 Merge pull request #1551 from dagwieers/local_action-fail
Turn 'fail' and 'debug' modules into action_plugins
12 years ago
Michael DeHaan f3cbcecf53 Merge pull request #1563 from lllama/devel
Add an "executable" option to the command and shell modules
12 years ago
Michael DeHaan a31ca213a5 Merge pull request #1562 from dagwieers/oneline-fix
Make --oneline return one line (except with multiline output)
12 years ago
Michael DeHaan 03f4b0f923 Merge pull request #1560 from dagwieers/module-output-consistency
Make module output more consistent wrt. changed/failed
12 years ago
Michael DeHaan cbff02139f Merge pull request #1557 from sfromm/issue1412
Updates to git module: use git-fetch and other changes
12 years ago
Michael DeHaan 42375d14b3 Merge pull request #1556 from sfromm/issue1099
Wrap getpwnam in try/except in authorized_key module
12 years ago
Michael DeHaan 603a5a0803 Merge pull request #1555 from pas256/devel
Handle instances without keypairs
12 years ago
Michael DeHaan b79b8e5a99 Merge pull request #1545 from brontitall/svr4pkg
Add svr4pkg module for traditional Solaris packages
12 years ago
Michael DeHaan 3dc31a049f Merge pull request #1527 from fdavis/devel
Support scp in an ssh connection
12 years ago
Boyd Adamson 528a457848 Add svr4pkg module for traditional Solaris packages 12 years ago
fdavis b91896ff55 move scp_if_ssh to the ssh connection category 12 years ago
Miek Gieben 5c62cf3285 Add some python packages too
When starting from scratch those packages must be installed too.
12 years ago
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.
12 years ago
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).
12 years ago
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())
12 years ago
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
12 years ago
Stephen Fromm 3ec64d19a8 Wrap getpwnam in try/except in authorized_key module
This also adds module as an argument to keyfile().
12 years ago
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.
12 years ago
Michael DeHaan 36c1b4be0e Merge pull request #1554 from dagwieers/rpm-name-fix
Fix broken RPM names due to static _rpmfilename
12 years ago
Dag Wieers d4b6aecd97 Fix broken RPM names due to static _rpmfilename 12 years ago
Michael DeHaan ab0f972715 Merge pull request #1553 from dagwieers/doc-authorized_key-fix
Fix example where imported ssh keys contain spaces
12 years ago
Michael DeHaan 710b49de4b Merge pull request #1552 from dagwieers/invoked-fix
Only print 'Invoked with' if there are arguments to the module
12 years ago
Dag Wieers 2bccd7b1ac Fix example where imported ssh keys contain spaces
This fixes #1521
12 years ago
Dag Wieers dd07011a65 Only print 'Invoked with' if there are arguments to the module
This closes #1519
12 years ago
Dag Wieers d8459425a0 Turn 'fail' and 'debug' modules into action_plugins
This makes more sense as there is no purpose in running these remotely.
12 years ago
Michael DeHaan 5e024243a8 Merge pull request #1522 from dhozac/LOOKUP-templating
Add $LOOKUP(<lookup plugin>,<data>) as a templating option
12 years ago
Daniel Hokka Zakrisson 43419d7b20 Add tests for lookup plugins 12 years ago
Daniel Hokka Zakrisson 47082a9171 Add $LOOKUP(<lookup plugin>,<data>) as a templating option
Also moves file and pipe to lookup_plugins.
12 years ago
Michael DeHaan 176cc8380b Merge pull request #1524 from nigelm/devel
Split of rpm packaging into main/fireball/node-fireball
12 years ago
Michael DeHaan a1f7334634 Merge pull request #1525 from jhoekx/custom-filter-plugins
Support custom jinja2 filters.
12 years ago
Michael DeHaan c9ae19c44c Merge pull request #1547 from dagwieers/action-boolean
Bail out if an action is not a string
12 years ago
Michael DeHaan 612aed55bb Merge pull request #1546 from dagwieers/get_url-nonthirsty-fix
Don't require thirsty mode for directory destination
12 years ago
Michael DeHaan 0ed2595bc6 Merge pull request #1548 from dagwieers/inventory-host-exception
Fix for an exception when for whatever reason the inventory script fails
12 years ago
Michael DeHaan 43410c46f9 Merge pull request #1550 from bcoca/1549_lininfile_backup_bug
fixes #1549
12 years ago