Commit Graph

1598 Commits (84028c2339bfdffd50626d694207c1a273f373ef)
 

Author SHA1 Message Date
Stephen Fromm 84028c2339 Tweak invocation of ip in LinuxNetwork
Specify full path to ip and add third argument 'show' to be explicit
about requested action.  This goes from 'ip addr' to
'/sbin/ip addr show'.
12 years ago
Michael DeHaan 00c28e2810 formatting 12 years ago
Michael DeHaan 75bbd73173 Fix indentation 12 years ago
Michael DeHaan 67301c1015 rename variable 'pkg' in yum module such that the auto-handled error messages use the same key. 12 years ago
Michael DeHaan 81fa48c86e update changelog 12 years ago
Michael DeHaan 1e4d45af1e Add module common code to allow it to be easier to indicate whether arguments are mutually exclusive, required in conjunction, or whether one of a list of arguments is required. This simplifies writing Python modules. 12 years ago
Michael DeHaan 98c350a6ac changelog update 12 years ago
Michael DeHaan deec50fc3c Default -u (user) and "user:" in playbooks to the current user. 12 years ago
Michael DeHaan 3587ffdef3 Allow /bin/ansible to use --limit 12 years ago
Michael DeHaan 9041adddaa Add support for ranged patterns like webservers[0-49] for hitting the first 50 webservers. 12 years ago
Michael DeHaan e9c9d8f523 tweak config mode check to just have a default 12 years ago
Michael DeHaan 477ca2ed1a Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
directory.
12 years ago
Michael DeHaan 72faf8eb0a fix indents 12 years ago
Michael DeHaan c9a5ce3685 changelog update 12 years ago
Michael DeHaan e0765be1ea Merge pull request #850 from akhayyat/virt-facts
Add openvz detection to virtualization facts, and some cleanup
12 years ago
Michael DeHaan 32922e404b Don't include local addresses in the all_ipv4/6 list 12 years ago
Michael DeHaan 08ce3692b2 Merge branch 'network-facts' of https://github.com/akhayyat/ansible into devel 12 years ago
Michael DeHaan 301edb5b52 use StringIO for output concatenation, minor other tweaks to previous commit 12 years ago
Michael DeHaan 3cc564c127 Merge branch 'devel' of https://github.com/SleeplessAnnoyedNerd/ansible into devel 12 years ago
Michael DeHaan d1ad1d2508 remove stray print 12 years ago
Michael DeHaan de21cb27d8 Remove tests that involve network effects -- makes things faster and they are not really deep tests here either way. 12 years ago
Michael DeHaan 259f2dc4de Various retooling of the internal code behind inventory pattern matching in support of pending support
for host ranges.
12 years ago
Dietmar Schinnerl ac44c36e4f Removed unnecessary string replacements since parse_json already filters garbage lines 12 years ago
Dietmar Schinnerl 6b622beb4d Added filtering of non-JSON lines. 12 years ago
Dietmar Schinnerl fbdddc7c74 Added utils.last_non_blank_line 12 years ago
Dietmar Schinnerl 993bb5c6f1 Added stub implementation of filters 12 years ago
Dietmar Schinnerl bfed87df80 Removed leading blanks 12 years ago
Dietmar Schinnerl 6a18075640 Issue #848: Closing stdin after we read from stdout 12 years ago
Ahmad Khayyat 916fcdb93b Add openvz detection to virtualization facts, and some cleanup 12 years ago
Ahmad Khayyat f0a8e13628 Update doc string and minor cleanup 12 years ago
Ahmad Khayyat 7950dd01e5 Recognize interface aliases in network facts, and add IP facts 12 years ago
Michael DeHaan 1c81ddf8d4 add the limit option, which can be used to further confine the patterns selected by "hosts:" in ansible-playbooks
to an additional pattern (a subset) specified on the command line.  For instance, a playbook could be reusable
and target "webservers" and "dbservers", but you want to test only in the stage environment, or a few boxes at a time.
12 years ago
Michael DeHaan 05a128c2be Add ability to store and access module results later on in the play. See examples/playbooks/register_logic for details. 12 years ago
Michael DeHaan 6c5761a79e Store the ${last_result} for each host to make it usable in only_if conditionals and such. 12 years ago
Michael DeHaan 58e099b91b update changelog 12 years ago
Michael DeHaan c7888dd642 Given user report that EL5 sudo does not support '--', remove it, and things seem to still work fine.
let me know if this breaks any other boxes.
12 years ago
Michael DeHaan 02ba5a48e0 Merge branch 'cleanup-imports' of https://github.com/jdavisp3/ansible into devel 12 years ago
Michael DeHaan 36527ca9d5 Merge pull request #838 from sfromm/issue825
Update file module to not recurse when setting ownership
12 years ago
Michael DeHaan a7415e5409 Merge pull request #836 from sfromm/rawfixes
Fixes for raw module usage and failure to open_session()
12 years ago
Michael DeHaan 535e3f138f Merge pull request #845 from zecrazytux/bugfix/pip2
Bugfix/pip2
12 years ago
Sébastien Bocahu 487d07a845 Fix variable scope 12 years ago
Sebastien Bocahu a3ff6b1958 Fix unneeded bashism
Signed-off-by: Sebastien Bocahu <sebastien@ispfr.net>
12 years ago
Stephen Fromm 94696fb88e Update file module to not recurse when setting ownership
This updates set_owner_if_different() and set_group_if_different()
to not implicitly recurse when setting ownership (whether user or
group).  It drops the os.system() call and replaces it with os.chown().
Resolves issue #825.

The recursion should be explicit.  A recurse=yes|no option should be
added to the file module.
12 years ago
Stephen Fromm 569d377183 Wrap paramiko open_session() call in try/except
Ran across non-unix host where the call to paramiko's open_session() in
exec_command() would throw a EOFError exception.  This change wraps the
block in a try/except.
12 years ago
Stephen Fromm f9bdfde614 Fixes for runner and raw module
runner should not try to create or remove tmp paths when using the raw
module.
12 years ago
Dave Peticolas 08272dc25d Remove unused imports. 12 years ago
Michael DeHaan 9e934acfca Relative symlinks don't really work (module bug) and would be confusing anyway, better to be explicit. 12 years ago
Michael DeHaan ce015fcaf8 add output of password step for easy testing 12 years ago
Michael DeHaan 05d6e74cce Merge branch 'vars_prompt_encrypt' of https://github.com/cocoy/ansible into devel 12 years ago
Michael DeHaan ef18f9d953 Fix a scoping issue that was fixing some non-repoquery-installed cases 12 years ago