Commit Graph

17189 Commits (80db6bacc49d97bc11f000702411a13adc5f1899)
 

Author SHA1 Message Date
Brian Coca d62cc30aa7 Merge pull request #12640 from amenonsen/ec2-csv-tags
Add an expand_csv_tags setting to ec2.ini
9 years ago
Abhijit Menon-Sen e6a9b2cae5 Add an expand_csv_tags setting to ec2.ini
If enabled, this will convert tags of the form "a,b,c" to a list and use
the results to create additional inventory groups.

This is based on PR #8676 by nickpeck (but not a straight rebase—both
the code and the nomenclature have been changed here).

Closes #8676
9 years ago
Toshio Kuratomi 7fd8b86a10 Fix documentation build problems 9 years ago
Toshio Kuratomi d38ac6a394 Update submodule ref for another new module 9 years ago
Toshio Kuratomi 7807e99bca A bunch of shipit's merged 9 years ago
Toshio Kuratomi 8aa2cbd647 Fix traceback because we're using display from another object that no
longer has it.
9 years ago
James Cammarata b2b0fa8d13 Changed do/until failed color
Fixes #13130
9 years ago
James Cammarata 94c20c9ac6 Cleanup failed/changed logic in TaskExecutor
Fixes #12980
9 years ago
Toshio Kuratomi 62979efa14 Finish up plugin porting to global display
Also remove display = display which does nothing
9 years ago
Toshio Kuratomi 2bd695ed42 Port cache plugins to global display 9 years ago
Toshio Kuratomi b05d0b8c9c Port lookup plugins to global display. 9 years ago
Toshio Kuratomi 4c7128da17 Port action plugins to global display 9 years ago
Toshio Kuratomi 186e034515 Move the rest of executor code to global display 9 years ago
Toshio Kuratomi 7ecfa072da Move the rest of the playbook code to use global display 9 years ago
Toshio Kuratomi aa4f213cb5 Move connection plugins to using global display 9 years ago
Toshio Kuratomi 318bfbb207 Migrate cli and dependencies to use global display 9 years ago
Brian Coca 1b7d3f2898 updated submodule refs 9 years ago
Brian Coca 99f45f2e19 pass task args without filtering, copy module needs to explcitly support
remote_src or it will remove the src file
9 years ago
Brian Coca 206cc50bd9 breaks testing in non virtual envs, since env var can be used in those
cases removing it from here
9 years ago
Toshio Kuratomi c7b69127ec Remove dead code 9 years ago
Toshio Kuratomi ab44cf2a9a Start a pyflakes section to cut down on extra messages that we don't agree are problems 9 years ago
Toshio Kuratomi e45ce871a7 Fix for traceback when neither name nor pkg are in the module params 9 years ago
Brian Coca b2a9111b22 reversed the logic on new setting to control - replacment in groups as
it was wrong
fixes #13122
9 years ago
Will Thames 5bb759e7ab Elevate privileges when checking for file existence
Certain OSs default to home directories as 0700
Without elevating privileges, checking for file existence
fails.
9 years ago
Toshio Kuratomi 4737305837 Remove dead code as this was moved to another class 9 years ago
Brian Coca be22a670e5 addes deprecated information to ansible-doc display
fixes #13118
9 years ago
Brian Coca 1b349fdf34 Merge pull request #13112 from privateip/eapi
add initial support for Arista eAPI
9 years ago
Toshio Kuratomi 74fe9d236a Add a disabled test for accessing private attributes of other objects
Need to cleanup the code before we can enable this test.
9 years ago
James Cammarata 566144461f Remove internal use of display and use the top-level import 9 years ago
James Cammarata 0fc187893d Catch import warnings in a common location for both get() and all()
Potential solution for #12979
9 years ago
James Cammarata 9f0c2cfda5 Merge pull request #13114 from mgedmin/fix-plugin-loader
Check sys.modules before loading modules
9 years ago
Marius Gedminas 54eae4a793 Check sys.modules before loading modules
Code for a plugin is usually loaded by a PluginLoader(), and henceforth
available from self._module_cache, which prevents duplicate loading.
However there are situations (e.g. where one action plugin imports code
from another one) where the plugin module might be already imported (and
resident in sys.modules), but not present in the PluginLoader's
_module_cache, which causes imp.load_source() to effectively reload the
module, overwriting global class declarations and causing subtle latent
bugs.

Fixes #13110.
Fixes #12979.
9 years ago
James Cammarata a99f2fd52f Save delegated vars in result for use in callback methods
Fixes #13014
9 years ago
Peter Sprygada 2e98f7f429 add initial support for Arista eAPI
This commit adds the shared module support for Arisat EOS devices
running eAPI.  The shared module builds on top of module_utils/urls.py.
9 years ago
James Cammarata e56fd9e95d Make sure pattern cache components are converted to unicode 9 years ago
James Cammarata 0b999c602a Properly figure subset and restrictions into host cache pattern
Fixes #13111
9 years ago
Matt Martz ea0da421df Merge pull request #13107 from resmo/patch-3
doc: update guide_cloudstack.rst
9 years ago
René Moser 1d7982c599 Update guide_cloudstack.rst 9 years ago
James Cammarata d8fb5efa90 Merge pull request #13102 from Yannig/devel_cache_enhancement
New method template_no_cache for template object.
9 years ago
Yannig Perré 0c360d17cb New parameter for template method.
We do not compute hash when we know that the result does not need to be cached (like with_items loop).
It also result in a small speed improvement.
9 years ago
Etherdaemon 27398131cf Fixes #13010 by updating boto3 methods to update boto3_conn to check for profile_name and if detected, remove from params and set a new variable of profile which is passed into Session separately 9 years ago
James Cammarata 09994c18f3 Correct logic around determining environment variable existence
Fixes #13105
9 years ago
James Cammarata c753ae6e22 Fixing up host pattern caching to avoid bugs
* Always cache and return unique list objects, so that if the list
  is changed later it does not impact the cached results
* Take additional parameters and the type of the pattern into account
  when building the hash string
9 years ago
James Cammarata e8f83dcba3 Revert "Temporarily disable template caching"
This reverts commit 4d1757ce64.
9 years ago
James Cammarata 4d1757ce64 Temporarily disable template caching 9 years ago
Toshio Kuratomi 995db275f8 Update submodule refs 9 years ago
Toshio Kuratomi db5d3f03a9 Fix first_found not finding files in roles (only templates) 9 years ago
James Cammarata ccbcfcddfc Move where we add environment and make it conditional on not existing
Also displays a warning now, because users should not be using that variable
name as it causes a collision with the internal variable of the same name.
9 years ago
Brian Coca 37ae243587 made get_file_lines rely on get_file_content which deals with many error
conditions that the former did not.
9 years ago
Brian Coca 74d76105aa Merge pull request #13100 from ghislainbourgeois/patch-2
Fix get_dns_facts on inexistent resolv.conf
9 years ago