Commit Graph

19340 Commits (6f0bc4dd828d7baa1a164916f82bea80df5c2bfd)
 

Author SHA1 Message Date
Matt Clay 6f0bc4dd82 Corrected reference to httptester container.
(cherry picked from commit b755bcd875)
9 years ago
Matt Martz 247d4ebb8d Add httptester docker container files and update run_tests.sh to use ansible/httptester
(cherry picked from commit 164f247ec8)
9 years ago
Michael Scherer 86516eae05 Do not test vca and vmware.py for py2.4 (#15887)
Since both of them depend on libraries not
working on python 2.4, we shouldn't restrict
ourself on 2.4, cf https://github.com/ansible/ansible/pull/15870
(cherry picked from commit cc61531a74)
9 years ago
Matt Martz df33ff6c65 Use httptester docker image for http tests (#15811)
* Use httptester docker image for http tests

* When not running with an httptester linked container, use public test sites

(cherry picked from commit accf40d8a8)
9 years ago
Brian Coca 73b250ecf7 fix default for removing images
(cherry picked from commit 2af8e3b9d8)
9 years ago
Brian Coca d77ff116c2 added ability to also subset make tests
(cherry picked from commit 27a1ae4732)
9 years ago
Brian Coca 6c80be47a2 another var 'defaulted' in run_tests
(cherry picked from commit 47d58c30e4)
9 years ago
Brian Coca 77dc6a36fd added defaults for 'optional' vars
(cherry picked from commit 3669ab2456)
9 years ago
Brian Coca 217f8fd824 fine tuned shell switches for run_tests.sh
(cherry picked from commit 52a714143f)
9 years ago
Matt Clay dee38ceb95 Update how shippable scripts are called.
(cherry picked from commit 6d74f43eff)
9 years ago
Matt Clay 66f8da7258 Add full support for Shippable CI.
(cherry picked from commit b0e1efbd62)
9 years ago
Michael Schmid c1fe7aa322 Fixes #15915: New HandlerTaskInclude Class which can run TaskIncludes inside Handlers 9 years ago
jctanner 4cabc94f09 Force relative role paths to be absolute and correct errors about missing path(s). (#16088)
Addresses #10811
9 years ago
James Cammarata 7725c58315 Make sure we add host/group vars files when parsing inventory
Also fixes a bug where add_host was not adding the vars files

Fixes #16117
9 years ago
James Cammarata 9936d7355c Fix recursive call of _load_inventory_file() in VariableManager
Fixes #16128
9 years ago
James Cammarata 0ba9a6a875 Fix the way host and group vars are loaded
* In the VariableManager, we were not properly tracking if a file
  had already been loaded, so we continuously append data to the end
  of the list there for host and group vars, meaning large sets of data
  are duplicated multiple times
* In the inventory, we were merging the host/group vars with the vars
  local to the host needlessly, as the VariableManager already handles that.
  This leads to needless duplication of the data and makes combining the
  vars in VariableManager take even longer.
9 years ago
Tobias Wolf 7287effb5c Solve performance issue with a large number of groups (#13957)
Ansible excessively checks the file system for the potential presence of
`group_vars` and `host_vars` files.

For large numbers of groups this leads to combinatorial performance
issues.

This commit generates a set of group_vars and host_vars filenames using
`os.listdir()` in every possible location and then checks against the sets
before making a stat of the file system.

Also included in this commit is caching of the base directory lookup
for the inventory.
9 years ago
André Cruz b950f75489 Use the python executable specified by the environment.
(cherry picked from commit 18831c72f9)
9 years ago
André Cruz 535a436703 Fix whitespace.
(cherry picked from commit 1fdb7613f1)
9 years ago
James Cammarata 41dde7259b Mark implicitly hosts as such and exclude them from the all group
Fixes #16059
9 years ago
nitzmahone 31f6e26009 bump extras submodule ref for azure fixes 9 years ago
nitzmahone 6e6dd98b86 update azure minimum doc fragment 9 years ago
nitzmahone a538b222dc updates for Azure SDK 2.0.0rc4 9 years ago
James Cammarata 55d40b50e4 Removing __version__ from __init__.py since it belongs in release.py 9 years ago
Toshio Kuratomi 6f5d1456bc Fix the copy action to not send the content as a param. (#16127)
Has already been transferred as a tempfile.

This fixes the error in https://github.com/ansible/ansible/issues/16125
but there may be higher level issues that should be fixed as well (other
modules might be able to cause status fields like failed and changed to
return a censored string instead of a bool).  So leaving 16125 open for
now.
9 years ago
nitzmahone 7ddf6dbbd4 bump core submodule ref 9 years ago
nitzmahone 9f32dcdd28 bump core submodule ref 9 years ago
Bede Carroll 1b5ec51988 Add validate_certs to vmware doc fragment (#16096) 9 years ago
Brian Coca 71350e022a fixed confusing reporting when no hosts are matched
it was hitting 'empty inventory' warning.
9 years ago
Brian Coca ff9641a6a1 fix version/help when missing action
also fixed issues with galaxy cli options
9 years ago
Brian Coca a59478f4f4 treat roles_path as the list it is for galaxy list 9 years ago
Brian Coca 2452bd2135 moved validate info from vvv to debug 9 years ago
Chris Houseknecht 0de111be00 Fix missing ignore_certs (#16018) 9 years ago
Toshio Kuratomi 2399dd32a8 Update submodule refs -- get them back onto the stable-2.1 branch instead of devel 9 years ago
Toshio Kuratomi ccbcb4b5e9 Update grep for six to not falsely trigger when six is only a substring of a different library 9 years ago
Toshio Kuratomi 4304574c00 Fix unarchive failures when the destination is a symlink to a directory (#15999)
Also add integration tests for this problem and unicode filenames inside
a tarball.

Fixes #3725
9 years ago
James Cammarata a44743d142 Use get_dep_chain() instead of directly using a blocks _dep_chain
Child blocks (whether nested or via includes) don't get a copy of the
dependency chain, so the above method should be used to ensure the block
looks at its parents dep chain.

Fixes #15996
9 years ago
nitzmahone 4bf9cf6e41 mark azure_rm_X_facts modules as TECH PREVIEW 9 years ago
nitzmahone f3c9672fc0 add missing azure_rm modules to changelog 9 years ago
Toshio Kuratomi 52c9e2ffcf Add strings 'True' and 'False' as booleans as python bools converted to strings will look that way.
Workaround for custom modules which are using choices=BOOLEANS instead
of type='bool'.
9 years ago
Adrian Likins b3ca832025 Add ChangeLog for pkg_util bug fix. 9 years ago
James Cammarata 09fa05373b When adding nested blocks, don't pass in any parent includes
We previously changed block behavior to prefer includes over parent
blocks, which broke inheritence in nested blocks.

Fixes #15926
9 years ago
Toshio Kuratomi a6bff1e49c Add Changelog for optional pycrypto. 9 years ago
Peter Oliver faf85ec57c Catch DistributionNotFound when pycrypto is absent (#15731)
* Catch DistributionNotFound when pycrypto is absent

On Solaris 11, module `pkg_resources` throws `DistributionNotFound` on import if `cryptography` is installed but `pycrypto` is not.  This change causes that situation to be handled gracefully.

I'm not using Paramiko or Vault, so I my understanding is that I don't
need `pycrpto`.  I could install `pycrypto` to make the error go away, but:
- The latest released version of `pycrypto` doesn't build cleanly on Solaris (https://github.com/dlitz/pycrypto/issues/184).
- Solaris includes an old version of GMP that triggers warnings every time Ansible runs (https://github.com/ansible/ansible/issues/6941).  I notice that I can silence these warnings with `system_warnings` in `ansible.cfg`, but not installing `pycrypto` seems like a safer solution.

* Ignore only `pkg_resources.DistributionNotFound`, not other exceptions.
9 years ago
James Cammarata d3367dd722 Updating RELEASES.txt 9 years ago
Toshio Kuratomi 1867adfabc Update submodule ref to include parameter change to junos module. 9 years ago
James Cammarata 9e622dcf31 New release v2.1.0.0-0.4.rc4 9 years ago
Matt Clay 68807c461b Add support for shippable.com CI tests.
This will allow offloading sanity tests from Travis to Shippable.

(cherry picked from commit 0e8930640a)
9 years ago
Toshio Kuratomi 3bef107872 Fix the error handling for loop squashing to restore the name argument into the task args (#15949) 9 years ago
Toshio Kuratomi 6b964a1594 Update test off make_become for ssh pty race mitigation (#15931) 9 years ago