Commit graph

13704 commits

Author SHA1 Message Date
Brian Coca
ee08448b2e now module_formatter handles new expanded return values from the module_docs (still does not thing with new return value docs) 2015-02-19 18:07:05 -05:00
Brian Coca
e842f8fab9 Merge pull request #10295 from bcoca/show_return_val_docs
ansible-doc now shows return value docs
2015-02-19 18:00:06 -05:00
Brian Coca
c587bf1488 fixed absolute_import to be on top as it requries 2015-02-19 16:45:34 -05:00
Brian Coca
c2023f6f59 Merge pull request #10285 from bcoca/math_filter_rearrange
rearranged math filters
2015-02-19 16:04:26 -05:00
Brian Coca
1e818f9c50 ansible-doc now shows return value docs 2015-02-19 13:18:05 -05:00
Brian Coca
8be8a7e2f5 Merge pull request #10277 from dago/solaris
Add Solaris zone support for inventory and connection

NOTE: the connection plugin will need some work for v2 (after 1.9 gets released)
2015-02-19 13:13:31 -05:00
Brian Coca
414737557e Merge pull request #10284 from mihirvj/devel-10221
Pulls machine id in ansible facts
2015-02-19 12:56:45 -05:00
Brian Coca
e6ac2fa593 Merge pull request #10292 from dago/solaris-mounts
Add support for mounts in Solaris facts
2015-02-19 12:46:37 -05:00
Dagobert Michelsen
b82a8576f1 Add support for mounts in Solaris facts 2015-02-19 15:38:20 +01:00
Brian Coca
7044b5a8d1 removed bare variable detection as this confuses people and forced us to allow for bare expressions 2015-02-19 08:29:53 -05:00
Brian Coca
c92c4e7376 readded absolute_import 2015-02-19 07:39:45 -05:00
Brian Coca
8872bba21f rearranged math filters 2015-02-18 20:03:05 -05:00
Mihir Joshi
58a5f8dfaf Pulls machine id in ansible facts
- Fix #10221
2015-02-18 17:10:36 -05:00
Brian Coca
94aca71546 Merge pull request #9475 from jhawkesworth/simple_timer_plugin
Add simple plugin that times ansible-playbook runs.
2015-02-18 15:43:06 -05:00
Brian Coca
a94d78181d Merge pull request #10280 from bcoca/jsonify_test_nospace
changed jsonify test to ignore whitespace
2015-02-18 13:08:14 -05:00
Brian Coca
2642738646 changed jsonify test to ignore whitespace 2015-02-18 12:09:22 -05:00
Toshio Kuratomi
77731440f3 Optimize the plugin loader.
We have been caching the paths to the plugins but before we would only
cache the specific plugin that we were looking for.  This meant that we
might search through all of the plugin directories before finding the
specific module we were interested in.  The next plugin we needed we
might again search through all the plugin directories before finding the
plugin we wanted.

This new code will cache all the potential plugins in each directory
searched.  For a play that only uses one plugin we'll only search
through directories until we encounter the directory that has the proper
plugin.  For a large playbook with many plugins used we'll search
through each directory at most once each.

From v1: 68e86de26f
         730c2ba403
2015-02-18 08:12:01 -08:00
Toshio Kuratomi
55e26db290 Support nested modules with ANSIBLE_LIBRARY env var
From v1: 4c2d06d2fe
2015-02-18 08:07:57 -08:00
Dagobert Michelsen
81f55ff8ff Adjust leftovers from chroot 2015-02-18 16:52:44 +01:00
Toshio Kuratomi
cf82e57379 Merge pull request #10275 from jensdepuydt/optimize-plugin-loader-10165
Optimize plugin loader update
2015-02-18 07:25:12 -08:00
jensdepuydt
730c2ba403 minor change to not search in non-existing paths 2015-02-18 12:07:35 +01:00
jensdepuydt
adc0e8be97 Merge branch 'optimize-plugin-loader-10165' of github.com:ansible/ansible into optimize-plugin-loader-10165 2015-02-18 12:04:54 +01:00
Toshio Kuratomi
9bb8e60ed1 Merge pull request #10269 from danrue/unarchive_creates_behavior
Make behavior consistent when using 'creates' option with modules
2015-02-17 23:04:26 -08:00
Toshio Kuratomi
f1f176d86b Merge pull request #10266 from sivel/rax-cbs-test-size-fix
rax_cbs: Remove explicit msg match for invalid size in integration tests
2015-02-17 17:05:13 -08:00
Brian Coca
fdb36b4ea6 Merge pull request #10270 from bcoca/make_clean_pyc
added cleaning pyc files
2015-02-17 17:15:42 -05:00
Brian Coca
24766bdfa0 added cleaning pyc files 2015-02-17 16:41:34 -05:00
Toshio Kuratomi
68e86de26f Optimize the plugin loader.
We have been caching the paths to the plugins but before we would only
cache the specific plugin that we were looking for.  This meant that we
might search through all of the plugin directories before finding the
specific module we were interested in.  The next plugin we needed we
might again search through all the plugin directories before finding the
plugin we wanted.

This new code will cache all the potential plugins in each directory
searched.  For a play that only uses one plugin we'll only search
through directories until we encounter the directory that has the proper
plugin.  For a large playbook with many plugins used we'll search
through each directory at most once each.

This should alleviate #10165
2015-02-17 13:24:46 -08:00
Brian Coca
2b037400ad Merge pull request #10264 from bcoca/jsonify_test_fix
fixed jsonify test
2015-02-17 16:19:03 -05:00
Dan Rue
67eb9f301d Do not mark "skipped" when changed is false
When using the "creates" option with the script module, set changed
to False if the file already exists. This behavior is consistent with
other modules which use "creates", such as command and shell.
2015-02-17 15:14:21 -06:00
Dan Rue
787388ac30 Do not mark "skipped" when changed is false
When using the "creates" option with the unarchive module, set changed
to False if the file already exists. This behavior is consistent with
other modules which use "creates", such as command and shell.
2015-02-17 15:02:08 -06:00
Matt Martz
1d0ceb37a4 Remove explicit msg match for invalid size 2015-02-17 12:32:22 -06:00
Brian Coca
bc5d0a8cd4 fixed jsonify test 2015-02-17 08:58:52 -05:00
Brian Coca
50379d59ba Merge pull request #10263 from shamrin/fix-ansible-devel-links
fix links to ansible-devel in documentation pages
2015-02-17 08:36:22 -05:00
Alexey Shamrin
b950a38e30 fix links to ansible-devel in documentation pages 2015-02-17 14:30:31 +03:00
Toshio Kuratomi
5738ee1cb3 Update core modules to fix new integration tests 2015-02-16 22:08:53 -08:00
Brian Coca
1861be8f31 Merge pull request #9957 from hfinucane/apt-deb-tests
Add tests for using .deb files
2015-02-16 19:15:34 -05:00
Brian Coca
6f6c6fb32a Merge pull request #10259 from sivel/rax-boot-vol-v2
Add new rax_find_bootable_volume to assist with boot from volume
2015-02-16 18:04:16 -05:00
Toshio Kuratomi
8f9b761f3a Merge pull request #10128 from alxgu/fix_facts_for_sles
Fix wrong distribution facts on SLES/openSUSE
2015-02-16 13:24:12 -08:00
Brian Coca
5416a99442 Merge pull request #10258 from stratoukos/issue_10257
Fix umask calculation on file creation. Fixes #10257
2015-02-16 15:02:48 -05:00
Stratos Moros
6caeded74e Fix umask calculation on file creation. Fixes #10257 2015-02-16 21:16:26 +02:00
Brian Coca
6a29251292 Merge pull request #10248 from hfinucane/gh-9888
Add `groups` back into inline templates
2015-02-16 13:56:20 -05:00
Brian Coca
54cf8f1138 Merge pull request #10256 from kstrauser/kerberos-docs
Added winrm/kerberos configuration information
2015-02-16 12:48:21 -05:00
Kirk Strauser
1b67aa94e8 Added winrm/kerberos configuration information 2015-02-16 09:36:39 -08:00
Brian Coca
79c809edcc Merge pull request #10255 from bcoca/vaultpass_fix
valutpass fix in password reorg
2015-02-16 12:25:28 -05:00
Brian Coca
e41d48104f valutpass fix in password reorog 2015-02-16 12:24:43 -05:00
Brian Coca
b2d5919d6d Merge pull request #10250 from cove/cyaml
improve yaml parsing performance by ~25% by using PyYAML's CParser loader
2015-02-16 12:11:58 -05:00
Brian Coca
2da35a55a5 Merge pull request #10247 from lorin/redis-docfix
Document redis_kv Python package dependency
2015-02-16 11:33:39 -05:00
Brian Coca
a022aed43d Merge pull request #10229 from bcoca/patch_not_require_dest
patch action plugin does not require dest
2015-02-16 11:18:27 -05:00
Toshio Kuratomi
d0556885ff Update modules 2015-02-16 07:14:11 -08:00
Toshio Kuratomi
8f05e4eaaf Tests for: https://github.com/ansible/ansible-modules-core/issues/778 2015-02-16 07:12:18 -08:00