Commit Graph

2687 Commits (dc4d589ce0bc653bbc075ee1d13a45a8fb427639)

Author SHA1 Message Date
James Tanner f4b59fe285 Fixes #4516 file module: check prev_state earlier and use that if state is not specified 11 years ago
Michael DeHaan 337b6ce642 Fix documentation formatting. 11 years ago
Michael DeHaan 7f125567cb Some simplification of include_vars and renamed include_files to include_vars. 11 years ago
Michael DeHaan b69ab89eb1 Merge branch 'include_files' of git://github.com/bennojoy/ansible into devel 11 years ago
Michael DeHaan 187ebf2f56 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 b520902852 Merge pull request #4756 from mscherer/fix_4739
Fix accelerate module on centos 5 by removing
11 years ago
Michael DeHaan 6d16f85b30 Suggest keyscan for github/other SCM hanging. 11 years ago
Michael DeHaan aae3a0ea8d Merge pull request #4740 from retr0h/return-server-object-not-list
Need to compare on server object not list
11 years ago
Michael DeHaan 3a0d67024c Merge pull request #4736 from dmkoch/assemble-temp-file-cleanup
Clean up temp file left behind by assemble module
11 years ago
Michael DeHaan 3705f41992 Merge pull request #4754 from mscherer/fix_4648
Fix 4648, cron module is not working on solaris
11 years ago
Michael DeHaan d34a26e307 Undo an inadvertant revert from template changes so we still allow pythonic imports in module land. 11 years ago
Michael Scherer 8efe53eebb 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 9e7b02aaee 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 506ce6a809 remove unused function 11 years ago
Scott Dunlop dbc1e20462 add "zle" as a supported ZFS compression type
ZFS supports "zle" compression, which compresses runs of null bytes efficiently.
11 years ago
Sheldon Hearn 6a02c75b7c Fix description of nova_compute:name option
It's the name of the instance, not of an image.
11 years ago
John Dewey f1fa16b65f 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
Daniel Koch dcdce838cf Clean up temp file left behind by assemble module 11 years ago
Michael DeHaan e35c54b5aa 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 d154bf8781 Revert templating enhancements from 73dbab70 e6c28658 d409352c 9858b1f2 4587528b 9b1fe455 214b0b05 8d3db803 7f9504d1 5031104c 35cb9dc2 2bd8cb57 1e85c754 11 years ago
Marcus Cobden 414a5b4eab Only remove leading '0x' from key ids, not all 0s 11 years ago
James Tanner d3c8832414 Fixes #4720 Use mysql command to restore database instead of mysqldump 11 years ago
jctanner 536b5b196f Merge pull request #4712 from mhite/bigip_node
New BIG-IP module for managing node objects
11 years ago
jctanner a1fcaf5c61 Merge pull request #4715 from mscherer/fix_4702
Fix #4702, make setup work on windows
11 years ago
Michael Scherer 3f0b3a71ca Fix #4702, make setup work on windows 11 years ago
Thomas Omans c12e2b53e3 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 25f7391d1a Fixed version_added and removed reference to traceback module 11 years ago
James Cammarata 0e9184eefd Fixing authorized_keys module to make the key part detection better
Fixes #4677
Fixes #4657
Fixes #4599
11 years ago
kiri c1c32c75ac add NoneType check. 11 years ago
bennojoy b53e7353f9 include files 11 years ago
Michael DeHaan 3722bebb1d Merge pull request #4509 from mremond/gem_executable
Add executable parameter to find gem binary in gem module
11 years ago
Michael DeHaan 3badedc983 Merge pull request #4424 from localvoid/firewalld-rich_rules
Add support for Rich Rules in firewalld module
11 years ago
Michael DeHaan 99d6726114 Revert "fix conversion from file to hardlink when force=yes"
This reverts commit 4d4518ed52.
11 years ago
Michael DeHaan 3778b39115 Merge pull request #4380 from joshkehn/lineinfile_validate
Added validate option to lineinfile
11 years ago
Michael DeHaan 41ed5635dc Merge pull request #4632 from simonsd/devel
refusing to convert between file and hard when force=yes
11 years ago
Michael DeHaan d0904ded84 Merge pull request #4600 from earchibald/devel
Added ['date_time']['tz_offset'] using %z to get the time offset rather ...
11 years ago
Michael DeHaan aac4c01786 Merge pull request #4597 from vegitron/devel
Allow generic django_management commands
11 years ago
Michael DeHaan b725361bce Merge pull request #4560 from tronner/issue4461
Fix illegal set operation in FreeBSD section of user module.
11 years ago
Michael DeHaan 2b785ec7e5 Merge pull request #4610 from bennojoy/gcs_fix3
fix for overwrite in put operation
11 years ago
Michael DeHaan da82906da5 Merge pull request #4680 from berendt/fix_permissions_of_ovirt
fixed permissions of module library/cloud/ovirt
11 years ago
Michael DeHaan 9858b1f2f3 Enable imports to work on a snippet based system, allowing for instance a library of common EC2 functions
to be reused between modules.  See library/system/service and library/system/ping for initial examples.  Can
work the old way to just import 'basic', or can import the new way to import multiple pieces of code from
module_utils/.
11 years ago
Christian Berendt 42d877146c fixed permissions of module library/cloud/ovirt 11 years ago
jctanner 43f48a2e02 Merge pull request #4167 from tima/rsync3
synchronization module take 3
11 years ago
James Tanner 40574c1938 Fixes #4448 reloaded services should be started if not running 11 years ago
James Cammarata aa0577c211 Merge branch 'fix_autorized_keys' of https://github.com/mscherer/ansible into mscherer-fix_autorized_keys 11 years ago
James Cammarata b58b287fce Fixing up authorized_keys to accept comments with spaces 11 years ago
Michael Scherer 951a91723d make sure that options are quoted, as people can add a shell
script there with a comma that would produce invalid configuration
upon being wrote again
11 years ago
Michael Scherer 7672e9fef8 sort the option_key to have a constant predictable line 11 years ago
Michael Scherer 264945a1f7 adding a single comma at the end of the options list confuse the module
it start to duplicate line, because this create
a empty option in the list, and so the module add a new line along the previous
one. See

>>> ' a,b, '.strip().split(',')
['a', 'b', '']
11 years ago
jctanner f61a4c1eb3 Merge pull request #4631 from mmoya/mysql_variables-fix3
Fail if requested variable is not available
11 years ago