Commit Graph

7681 Commits (876e503417c1fe0c3b5accff71c5c7474dc39b9e)
 

Author SHA1 Message Date
Michael Scherer 906f7fd8a0 check more files using make pyflakes ( ie subdirectory of lib/ansible/ ) 11 years ago
Michael DeHaan 334dcfa2fa Update module documentation. 11 years ago
Michael DeHaan 70c9028e1e include_vars plugin should look in vars/ path for a role. 11 years ago
Michael Scherer 1ef9bed752 Try/finally is a python 2.5 construct, so not working
on EL5. Fix #4763
11 years ago
James Laska 2a5874b94f Honor wait on ec2 instance termination 11 years ago
Michael DeHaan 99687749a3 Merge pull request #4775 from steverweber/fix-4640
dont sudo if sudo_user is the same as the connection user
11 years ago
Michael DeHaan 874c0d1c00 Merge pull request #4774 from rsutphin/source_env_in_mod_dev_docs
Document env dependency for test-module
11 years ago
Steve Weber 5bd52796ec dont sudo if sudo_user is the same as the active user 11 years ago
Yegor Minin df5fd0e0d0 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
Rhett Sutphin aa475d337a Document env dependency for test-module.
You need to source hacking/env-setup before running hacking/test-module;
otherwise you get an error like this:

    ImportError: No module named ansible.utils
11 years ago
Michael DeHaan e725eea4be Merge pull request #4770 from dragon3/devel
ec2_vol: return volume_id/device even when volume mapping already exists
11 years ago
James Tanner afa5988391 Fixes #4540 Use shared module snippet to evaluate ec2 credentials 11 years ago
dragon3 19b5008c0a return volume_id/device even when volume mapping already exists 11 years ago
Alan Fairless 0824f004d9 Revised patch for more password entropy 11 years ago
Hiroaki Nakamura abed2c47fa Fix for RHEL6. 11 years ago
James Tanner dc4d589ce0 Fixes #4767 detect hard links and set state in add_file_info 11 years ago
James Tanner f4b59fe285 Fixes #4516 file module: check prev_state earlier and use that if state is not specified 11 years ago
Michael Vogt b8e641136a make comment lines in troff start with .\" and add a .SH EXAMPLES to the PLAINEXAMPLES section 11 years ago
Michael DeHaan d478eaa6a5 Merge pull request #4761 from truedays/devel
minor correction
11 years ago
Ray b5266a562d minor correction
Same doc-typo (confirmed) as https://github.com/ansible/ansible/pull/4759

--remote-user  *should be*  --user
11 years ago
Michael DeHaan 337b6ce642 Fix documentation formatting. 11 years ago
Brian Cavagnolo 869f32123b 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 b1b5280075 Reapply pep8 changes from previous revert. 11 years ago
Michael DeHaan 01ba1e9297 Merge pull request #4759 from truedays/devel
minor doc correction
11 years ago
Michael DeHaan 51fbc6d20a Further simplify the debug: var=foo action plugin code. 11 years ago
Michael DeHaan bbf212a268 Simplify the way the debug: var=varname plugin works. 11 years ago
Michael DeHaan a078184ae8 add to changelog 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
Ray a66f0462cd minor correction
--remote-user= does not work:
 ansible: error: no such option: --remote-user

--user= does. Updating docs
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 465f3b1c91 This allows type=dict in a module to allow passing in a real dict or JSON. 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 8b2cd6413b When inside an apt or yum task account for multiple conditionals. Fixes 4745. 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
jctanner affa703fcb Merge pull request #4749 from swdunlop/patch-1
add "zle" as a supported ZFS compression type
11 years ago
Michael DeHaan 4489de53d1 Merge pull request #4748 from alanfairless/fix-module-format-string-typo
Fix format string typo
11 years ago
Christian Goetze f41d4ac390 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 dbc1e20462 add "zle" as a supported ZFS compression type
ZFS supports "zle" compression, which compresses runs of null bytes efficiently.
11 years ago
Alan Fairless af40b19a2d Fix format string typo 11 years ago
Alan Fairless 65e5331079 Allow organizing host/group vars in a directory
So instead of having:
 group_vars/production.yml

A user could chose to reorganize to:
 group_vars/production/staff.yml
 group_vars/production/networks.yml
 group_vars/production/dns.yml

(Backwards compatible.)
11 years ago
Alan Fairless babde9a84c refactor to catch edge cases, remove repeated code
- Move all the supported YAML file extensions into a constant
- Use helper functions to avoid duplicate code for group/host vars
- Catch and disallow some confusing situations, such as the presence of
  multiple group/host vars files for the same group/host, but with
  different extensions.  For example having both group_vars/all.yml and
  group_vars/all.yaml.
- Catch and report file system permission issues, symlink errors,
  unexpected file system objects
- Trivial performance improvement from making fewer stat system calls
- Restructuring that makes it easy for a following patch to support
  directory recursion
11 years ago
Michael DeHaan a7121d00ac Merge pull request #4326 from angstwad/devel
Revamp of the rax.py inventory plugin
11 years ago