Commit Graph

3004 Commits (38edad70acafbc18a0088470babdf94eff55a567)
 

Author SHA1 Message Date
Mohan Krishnan 2232b9ce6a Fix for connect method parameter order 11 years ago
Steve Tjoa de4b105e09 Changed parameter from 'user' to 'name' in the examples to coincide with the specs. 11 years ago
Mohan Krishnan 6ab967ef9f ec2_eip connect method references module var that is not passed in 11 years ago
Pedro Romano 22c7891886 Obsolete attempts at determining the full path to the desired
'easy_install' executable were still left behind and need to be removed
for the customizable 'executable' task argument to correctly work:
'_get_easy_install' should take care of all the functionality related to
determining the correct 'easy_install' executable to use.
11 years ago
Tin Tvrtkovic 8036cb0cab Modified the get_url module to respect the content-disposition header if the destination is a directory and the server provides it.
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html, section 19.5.1.
11 years ago
Michael DeHaan e939a41bfb Update module documentation. 11 years ago
Michael Scherer 8f5a0f9112 Try/finally is a python 2.5 construct, so not working
on EL5. Fix #4763
11 years ago
James Laska 582a32040b Honor wait on ec2 instance termination 11 years ago
Yegor Minin 0b51476c0a apt: allow specifying dpkg options
This will allow specifying dpkg options as a string passed over to apt
command. dpkg_options expects a comma-separated string of options to be
passed as dpkg options which will be further expanded. For example
dpkg_options='force-confdef,force-confold' will end up as
-o \"Dpkg::Options::=--force-confold\" when passed to apt
Example usage would be:
-m apt -u ubuntu -s \
 -a "upgrade=dist update_cache=yes dpkg_options='force-confold'"
or
apt: upgrade=dist update_cache=yes dpkg_options='force-confold'
11 years ago
Michael DeHaan 2dd59c87a4 Merge pull request #4770 from dragon3/devel
ec2_vol: return volume_id/device even when volume mapping already exists
11 years ago
James Tanner 0a5adda059 Fixes #4540 Use shared module snippet to evaluate ec2 credentials 11 years ago
dragon3 2d857c9c44 return volume_id/device even when volume mapping already exists 11 years ago
Alan Fairless 9b8fae6158 Revised patch for more password entropy 11 years ago
Hiroaki Nakamura 7aa728a32f Fix for RHEL6. 11 years ago
James Tanner c3159fefab Fixes #4516 file module: check prev_state earlier and use that if state is not specified 11 years ago
Michael DeHaan 8687525d18 Fix documentation formatting. 11 years ago
Brian Cavagnolo c42d987788 make cloudformation module accept template_parameters from command line
Passing cloudformation template_parameters on the command line
like so was failing:

    ansible localhost -m cloudformation -a "...template_parameters=foo=5,bar=4..."
11 years ago
Michael DeHaan dd6af369af Some simplification of include_vars and renamed include_files to include_vars. 11 years ago
Michael DeHaan 684cbf8154 Merge branch 'include_files' of git://github.com/bennojoy/ansible into devel 11 years ago
Michael DeHaan b5e5a96d03 Leverage 4318b27 and no longer treat instance tags as JSON, but as dictionary types which could be key=value or dicts or JSON or references. 11 years ago
Michael DeHaan 3112f1b84c Merge pull request #4756 from mscherer/fix_4739
Fix accelerate module on centos 5 by removing
11 years ago
Michael DeHaan 50ef750a25 Suggest keyscan for github/other SCM hanging. 11 years ago
Michael DeHaan 422bba7b4c Merge pull request #4740 from retr0h/return-server-object-not-list
Need to compare on server object not list
11 years ago
Michael DeHaan 9acff0fae0 Merge pull request #4736 from dmkoch/assemble-temp-file-cleanup
Clean up temp file left behind by assemble module
11 years ago
Michael DeHaan 99a8213be1 Merge pull request #4754 from mscherer/fix_4648
Fix 4648, cron module is not working on solaris
11 years ago
Michael DeHaan 0e7069d7c1 Undo an inadvertant revert from template changes so we still allow pythonic imports in module land. 11 years ago
Michael Scherer a53972c3a7 Fix accelerate module on centos 5 by removing
unsupported string prefix in 2.4

http://docs.python.org/release/2.4/ref/strings.html
This is also ignored on later version of python 2
and is present only for python 3 conversion, as seen
on http://docs.python.org/2/reference/lexical_analysis.html#string-literals

Also see http://stackoverflow.com/questions/6269765/what-does-the-b-character-do-in-front-of-a-string-literal

Fix https://github.com/ansible/ansible/issues/4739
11 years ago
Michael Scherer 2a3ee8dbf4 make cron module work on solaris
Cron on solaris do not take the same
set of option than vixie cron on linux, and
among the biggest difference, root cannot set
the crontab of a user directly from a file. Thus the
use of su to run the crontab command. Fix issue #4648
11 years ago
Michael Scherer 5547cc9c29 remove unused function 11 years ago
Christian Goetze c25d7e4165 Add support for bare git reference repos
This adds two parameters to the git module:

  bare (boolean)
    Indicates this is to be a bare repositori

  reference (string)
    Indicates the path or url to the reference repo.
    Check out the "--reference" option in the "git clone"
    man page

Added appropriate tests.
11 years ago
Scott Dunlop be6e2c9097 add "zle" as a supported ZFS compression type
ZFS supports "zle" compression, which compresses runs of null bytes efficiently.
11 years ago
Sheldon Hearn 5e7be2041e Fix description of nova_compute:name option
It's the name of the instance, not of an image.
11 years ago
John Dewey fdec31f200 Need to compare on server object not list
TASK: [create test controller 0] **********************************************
    failed: [127.0.0.1] => {"failed": true, "parsed": false}
    invalid output was: Traceback (most recent call last):
      File "/Users/jdewey/.ansible/tmp/ansible-1383197329.62-262790004573235/nova_compute", line 1203, in <module>
        main()
      File "/Users/jdewey/.ansible/tmp/ansible-1383197329.62-262790004573235/nova_compute", line 261, in main
        _get_server_state(module, nova)
      File "/Users/jdewey/.ansible/tmp/ansible-1383197329.62-262790004573235/nova_compute", line 197, in _get_server_state
        if server.status != 'ACTIVE':
    AttributeError: 'list' object has no attribute 'status'
11 years ago
Brian Coca 46b67e9b1f now assemble module is also action plugin and can use local source for
files
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
chrisalbright dbbad79299 pip module: fix unexpected behavior when creating virtualenvs
This module supports `virtualenv_site_packages` as an option to control whether or not to include system packages when installing pip packages into a virtual environment. 

The default is no, and when you say yes it explicitly it includes a flag to include site packages, otherwise it doesn't provide a flag. 

Some versions of virtualenv by default include site packages and other versions by default do not. 

This patch just makes both branches explicit, so `virtualenv_site_packages=no` really means no.
11 years ago
Daniel Koch fc8b88995a Clean up temp file left behind by assemble module 11 years ago
Michael DeHaan 98b23de9ab Merge pull request #4727 from leth/apt-key-leading-zeros
Only remove leading '0x' from apt key ids, not all 0s
11 years ago
James Tanner 8036e6ee23 Revert templating enhancements from 73dbab70 e6c28658 d409352c 9858b1f2 4587528b 9b1fe455 214b0b05 8d3db803 7f9504d1 5031104c 35cb9dc2 2bd8cb57 1e85c754 11 years ago
Phillip 22d679ffc5 adding the githooks module 11 years ago
Marcus Cobden c7dfa16edf Only remove leading '0x' from key ids, not all 0s 11 years ago
James Tanner 3370aee870 Fixes #4720 Use mysql command to restore database instead of mysqldump 11 years ago
jctanner 1a72cd4b0e Merge pull request #4712 from mhite/bigip_node
New BIG-IP module for managing node objects
11 years ago
jctanner 63b1c47881 Merge pull request #4715 from mscherer/fix_4702
Fix #4702, make setup work on windows
11 years ago
Michael Scherer 2865a1b074 Fix #4702, make setup work on windows 11 years ago
Thomas Omans ae6e080bd9 Pip module: fixing issue with python 2.4 support
Python 2.4.3 returns:
TypeError: expected character buffer object

startswith is expecting only a string instead of a tuple like newer versions allow.
11 years ago
Matt Hite 176cf51b0a Fixed version_added and removed reference to traceback module 11 years ago
James Cammarata 4c80cf411c Fixing authorized_keys module to make the key part detection better
Fixes #4677
Fixes #4657
Fixes #4599
11 years ago
Serge van Ginderachter 3295516002 bigip tcp monitor: add examples 11 years ago
Serge van Ginderachter 4ddb6e629d Fix typo 11 years ago
Serge van Ginderachter 30ef338c85 Implement BIGIP F5 TCP monitor 11 years ago