Commit Graph

20931 Commits (86c50839bd113f728277c11b92884828388cd35d)
 

Author SHA1 Message Date
Matt Clay 40ffd8269d Add shellcheck to code-smell checks. (#17715) 8 years ago
Adrian Likins 95dd8cc2c7 Add '--cover-erase' to 'make tests' cli (#17708)
Otherwise the coverage is cumulative over multiple runs and can be misleading.
8 years ago
Adrian Likins be1139317a Add a 'make integration' target (#17710)
Runs test/utils/shippable/integration.sh
8 years ago
Adrian Likins e11f7d2339 add a defaults for integration.sh (#17709)
* add a default test image (ansible/ansible:centos7)
* add a default test target (all)
8 years ago
Matt Clay ada2432165 Add keep on failure option to integration.sh. (#17711) 8 years ago
Tom Melendez 97a1b7ded1 Integration Playbook for Google Cloud DNS module. (#17698) 8 years ago
James Cammarata 6666d13654 Add max_passes to the debug strategy override of _process_pending_results
Fixes #17520
8 years ago
jctanner a2547db5b5 ini lookup: add 'type' to the list of known arguments (#17707)
Fixes #16556
8 years ago
Pascal Grange 8b08a28c89 fixes issue #13981: unsafe_writes block appeared too late in the atom… (#17405)
* fixes issue #13981: unsafe_writes block appeared too late in the atomic_move
workflow. This led to errno.EBUSY to not be managed in the context of
issue #!#981

* Reduce changes to fix #13981

* Abstract the unsafe_writes fallback into a helper method.
Explicitly try/except os.rename part of the code and call this helper method.
If the code fails in shutil.copy2 or shutil.move this should not be related to issue #13981
since they write to b_tmp_dest_name.
(as suggested by @abadger)

* Check if unsafe_writes in the caller, not in _unsafe_writes.
That way the function call reads as "Do an unsafe write"
and not as "I think we should do an unsafe_write.
8 years ago
Peter Sprygada 839f908a14 fixes mode on module_utils/dellos9.py (#17682) 8 years ago
Toshio Kuratomi dde7c11713 Update submodule refs 8 years ago
Christoph f9e49de2ef Add a test for int/float parameter type checking (#16741)
A parameter of type int should accept int and string, but not float.
A parameter of type float should accept float, int, and string.

Also reset the arguments in another test so that it runs cleanly.  This
agrees with what all the other tests are doing.
8 years ago
Toshio Kuratomi 8aa8e07d13 Remove _load_hosts() from Play initialization as it's no longer needed and it breaks using extra_vars defining a list for hosts (#17699)
Thanks to @jimi-c for the solution

Fixes #16583
8 years ago
Matt Clay 3874e653c1 Remove tests for deprecated su and sudo. (#17697) 8 years ago
Tom Melendez 0e85f88f8e test_gce_mig integration test playbook (#17249)
Includes:
* Tests to create, delete, resize, recreate and configure an Autoscaler
* Tests for parameters only.  Use TEST_FLAGS="--tags 'param-check'" to execute only these tests.

Requires:
* An instance template to be configured in your project.
8 years ago
scottb bfad319619 Merge pull request #15820 from jinesh-choksi/patch-2
Key names in the ansible_local variable are converted into lower case
8 years ago
James Cammarata c9d3d2b9a0 Allow for empty source in dwim_path_relative_stack
Fixes #17192
8 years ago
Matt Clay 39c5c558f8 Switch tests from sudo to become. (#17694) 8 years ago
James Cammarata 23651b657e Create a raw lookup for hostvars that does not template the data
When using hostvars to get extra connection-specific vars for connection
plugins, use this raw lookup to avoid prematurely templating all of the
hostvar data (triggering unnecessary lookups).

Fixes #17024
8 years ago
Ondra Machacek 04165fb6c0 Add oVirt support to `ansible/module_utils` module (#17364)
* Add oVirt utility module

This patch add oVirt utility module, which contains helper functions,
for oVirt modules and also shared documentation fragment for oVirt.

* Adjust to Python 2.4

* Fixups

* Add support for poll interval and fixes
8 years ago
Chris Houseknecht cc9ef78597 Added docker_network to 2.2 change log 8 years ago
Gabriele cfd880dab8 Adding raw check to nxos.py (#17659) 8 years ago
Toshio Kuratomi 7889e1ffc1 Additional tests for check mode idempotence (#17679) 8 years ago
scottb 33c96f6b7f Merge pull request #17677 from privateip/network_docs
update intro to networking section
8 years ago
Peter Sprygada 21120d9988 update intro to networking section
removes out of date device list and adds note about supported transports
8 years ago
Matt Clay e0ad02c6dd Remove test for deprecated first_available_file. (#17674) 8 years ago
Peter Sprygada 765a76885b fixes issue where config sessions where left behind (#17673)
When using the Cli transport, if the session hung on a command and the
socket timed out, the config session would be left behind.  This change
will allow the shell to try to get control back and remove the config
session, assuming the channel is still open.

fixes ansible/ansible-modules-core#4945
8 years ago
scottb f0c9cc909b Merge pull request #17671 from dharmabumstead/deprecation-warnings-update
Deprecation warning for accelerated mode; partially addresses 16410
8 years ago
Peter Sprygada 2a908b832c fixes commit confirm check in junos shared module (#17663)
The module didn't perform a commit confirm check which would cause
checking commits to be non idempotent.  This change will fix that problem.
8 years ago
Scott Butler d3fe3d9217 Deprecation warning for accelerated mode; partially addresses 16410 8 years ago
Matt Clay 24c9e047c3 Remove test-docs from module search ignore list. (#17670) 8 years ago
Matt Clay 08e964a9c5 Update submodule refs. 8 years ago
Brian Coca 1e4e188318 changed missing file error to warning for lookups (#16800)
* changed missing file error to warning for lookups

* changed plugins that expected exception

warning will still be displayed, they now work with None value
8 years ago
James Cammarata 507700e42c Officially naming the 2.2 release "The Battle of Evermore" 8 years ago
John R Barker cd79fcc8c6 Fixed formatting
Need a blank line before headings
8 years ago
Toshio Kuratomi 55cbe257cc Update submodule refs to pick up pip fixes 8 years ago
James Cammarata 4dc2bf4815 Take ITERATING_ALWAYS into account when setting failed state in PlayIterator
Fixes #15963
8 years ago
Timothy Appnel 1975a545bd Implements verbose always to assert action plugin module (#17654) 8 years ago
Toshio Kuratomi a683256342 Update core submodule ref for pip fix 8 years ago
James Cammarata 1b54d3b6dc Merge branch 'threaded_receiver' into devel 8 years ago
Toshio Kuratomi 2f6ab44c76 Update sumodule refs 8 years ago
Toshio Kuratomi 429a3cf82d Add pip bugfix to minor changes 8 years ago
Rob Cutmore 2716fe4362 Add test for checking pip package in check mode (#17360) 8 years ago
Peter Sprygada 547cea556f remove old imports from junos shared module (#17655)
this cleans up the old import mechanisms in the junos shared module
8 years ago
Peter Sprygada 433a0e1e40 allow netcfg to pass kwargs from __call__ to configure() (#17653)
This minor fix allows kwargs to pass from Config __call__ to the underlying
transport instance.
8 years ago
Peter Sprygada 6fc9ffd28e clean up junos shared module (#17652)
This cleans up the junos module removing some unneeded commands and fixing
method signature with unneeded **kwargs
8 years ago
Peter Sprygada 662008115b Merge pull request #17651 from skg-net/bugfix
Fix to handle the prompt on saving startup config
8 years ago
Matt Clay 5f72bae3b0 Update submodule refs. 8 years ago
Matt Clay ded45fb535 Update submodule refs. 8 years ago
Senthil Kumar Ganesan 081730851c Fix to handle the prompt on saving startup config 8 years ago