Commit Graph

13585 Commits (361517165160718e04755ccaf4a242f2fff8bbd0)
 

Author SHA1 Message Date
Brian Coca 2642738646 changed jsonify test to ignore whitespace 10 years ago
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
10 years ago
Toshio Kuratomi 55e26db290 Support nested modules with ANSIBLE_LIBRARY env var
From v1: 4c2d06d2fe
10 years ago
Dagobert Michelsen 81f55ff8ff Adjust leftovers from chroot 10 years ago
Toshio Kuratomi cf82e57379 Merge pull request #10275 from jensdepuydt/optimize-plugin-loader-10165
Optimize plugin loader update
10 years ago
jensdepuydt 730c2ba403 minor change to not search in non-existing paths 10 years ago
jensdepuydt adc0e8be97 Merge branch 'optimize-plugin-loader-10165' of github.com:ansible/ansible into optimize-plugin-loader-10165 10 years ago
Toshio Kuratomi 9bb8e60ed1 Merge pull request #10269 from danrue/unarchive_creates_behavior
Make behavior consistent when using 'creates' option with modules
10 years ago
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
10 years ago
Brian Coca fdb36b4ea6 Merge pull request #10270 from bcoca/make_clean_pyc
added cleaning pyc files
10 years ago
Brian Coca 24766bdfa0 added cleaning pyc files 10 years ago
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
10 years ago
Brian Coca 2b037400ad Merge pull request #10264 from bcoca/jsonify_test_fix
fixed jsonify test
10 years ago
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.
10 years ago
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.
10 years ago
Matt Martz 1d0ceb37a4 Remove explicit msg match for invalid size 10 years ago
Brian Coca bc5d0a8cd4 fixed jsonify test 10 years ago
Brian Coca 50379d59ba Merge pull request #10263 from shamrin/fix-ansible-devel-links
fix links to ansible-devel in documentation pages
10 years ago
Alexey Shamrin b950a38e30 fix links to ansible-devel in documentation pages 10 years ago
Toshio Kuratomi 5738ee1cb3 Update core modules to fix new integration tests 10 years ago
Brian Coca 1861be8f31 Merge pull request #9957 from hfinucane/apt-deb-tests
Add tests for using .deb files
10 years ago
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
10 years ago
Toshio Kuratomi 8f9b761f3a Merge pull request #10128 from alxgu/fix_facts_for_sles
Fix wrong distribution facts on SLES/openSUSE
10 years ago
Brian Coca 5416a99442 Merge pull request #10258 from stratoukos/issue_10257
Fix umask calculation on file creation. Fixes #10257
10 years ago
Stratos Moros 6caeded74e Fix umask calculation on file creation. Fixes #10257 10 years ago
Brian Coca 6a29251292 Merge pull request #10248 from hfinucane/gh-9888
Add `groups` back into inline templates
10 years ago
Brian Coca 54cf8f1138 Merge pull request #10256 from kstrauser/kerberos-docs
Added winrm/kerberos configuration information
10 years ago
Kirk Strauser 1b67aa94e8 Added winrm/kerberos configuration information 10 years ago
Brian Coca 79c809edcc Merge pull request #10255 from bcoca/vaultpass_fix
valutpass fix in password reorg
10 years ago
Brian Coca e41d48104f valutpass fix in password reorog 10 years ago
Brian Coca b2d5919d6d Merge pull request #10250 from cove/cyaml
improve yaml parsing performance by ~25% by using PyYAML's CParser loader
10 years ago
Brian Coca 2da35a55a5 Merge pull request #10247 from lorin/redis-docfix
Document redis_kv Python package dependency
10 years ago
Brian Coca a022aed43d Merge pull request #10229 from bcoca/patch_not_require_dest
patch action plugin does not require dest
10 years ago
Toshio Kuratomi d0556885ff Update modules 10 years ago
Toshio Kuratomi 8f05e4eaaf Tests for: https://github.com/ansible/ansible-modules-core/issues/778 10 years ago
Toshio Kuratomi c9fb97cc86 Be careful not to set the permissions of the destination of a symlink.
It's up to the module using the set_fs_attributes*/set_mode* methods to
specify the filename of the destination of the symlink if that's really
the file that should be modified.

Half of the fix for:
https://github.com/ansible/ansible-modules-core/issues/778
10 years ago
Alexander Gubin d291dae582 Exit loop after detecting os-release 10 years ago
Cove Schneider 825654a2fa parse yaml using cparser if present 10 years ago
Henry Finucane 2e4191c013 Add `groups` back into inline templates 10 years ago
Lorin Hochstein 639f06e0e8 Document redis_kv Python package dependency
Mention in docs that the redis_kv lookup requires that the redis Python package
is installed.
10 years ago
Toshio Kuratomi 1e867b0b8e Fix the to_nice_yaml filter to always return unicode strings
Fixes #10243
10 years ago
Matt Martz cfd05ceafc Add new rax_find_bootable_volume to assist with boot from volume 10 years ago
Brian Coca f6a6df2169 removed unused method 10 years ago
Brian Coca af573db47a documented new tag behaviour 10 years ago
Brian Coca 65c08d1364 added tests
refactored task selection into method
list-tasks now uses common method of task selection
always is now skippable if specified in --skip-tags
10 years ago
Brian Coca 6fbbf9c118 simplified if conditions 10 years ago
Brian Coca 6579c5ddf5 fixed skipped tags 10 years ago
Brian Coca 95fa770ba0 adds complex tag management
Adds a special tag:
 - always: always runs no matter what --tags, --skip-tags say

Adds 4 special keywords for --tags/skip-tags
 - all: all tagged + untagged tasks
 - tagged: only tagged tasks
 - untagged: only untagged tasks
 - always: only run tasks tagged 'always'
10 years ago
Brian Coca f61de115cd updated version added for pkg5* 10 years ago
Brian Coca 64690691d3 updated to pickup fixed cpanm 10 years ago