Commit Graph

18696 Commits (9005f91bb04fcb632c97bccd8b2437ba120fc672)
 

Author SHA1 Message Date
Devananda van der Veen 08f270ad71
Send empty command before recv
On some switches, starting an SSH connection and immediately calling
recv() will result in a connection timeout. The switch requires some
input on the channel before it provides any prompt.

As such, this patch sends an empty command immediately upon connection,
triggering the switch to send a prompt which the shell can then
interpret.

Signed-off-by: Devananda van der Veen <devananda.vdv@gmail.com>
9 years ago
James Cammarata f700a7e3ce Removing forced pull from build step in run_tests.sh 9 years ago
James Cammarata 52efd7438c Fixing template/assemble action plugins related to tmp dir use/cleanup 9 years ago
James Cammarata b7813fd6fd Also adding python-systemd to tox test-requirements.txt 9 years ago
Brian Coca b22cc9542a Merge pull request #14898 from dagwieers/github-dir
Move the Github issue and pull-request templates to .github
9 years ago
Toshio Kuratomi c9ca7bdf55 Merge pull request #14875 from mattclay/plugins-unicode
Fix unicode handling in connection plugins.
9 years ago
Matt Clay 5c206eaf0b Add additional plugins to connection tests.
- docker
- libvirt_lxc
- jail

These tests will not run as part of the build, but can be run manually.
9 years ago
Matt Clay f878a5d2e0 Fix unicode handling in connection plugins. 9 years ago
James Cammarata 936763bb2c Moving pip test requirements from travis.yml to tox test-requirements.txt 9 years ago
James Cammarata e52c1f26d3 Fixing typo from python-memcached change in travis yml 9 years ago
James Cammarata fe450290d9 Fixing memcached->python-memcached for pip install of travis setup 9 years ago
James Cammarata 139b398191 Adding some packages to the unit test portions of travis testing
Missing python-memcached and python-redis result in some tests being
skipped and lowering the overall coverage %
9 years ago
James Cammarata 09e5f0578a Don't always insert failed in the results (again) 9 years ago
Brian Coca a07495e4c8 allow tests to run with parameters
also fixed test_test_infra to allow tags
9 years ago
Brian Coca 5cbdaff9fd avoid creating extra tmp dirs we don't delete
fixes #14867
9 years ago
James Cammarata c2441c15c3 Revert "corrected failed_when test"
This reverts commit 140df20504.
9 years ago
James Cammarata 963178f392 Revert "complete correction of test, key exists but is false"
This reverts commit 7e6343213b.
9 years ago
James Cammarata ccf646665b Revert "Removing explicit setting of failed/failed_when"
This reverts commit 4e528e9535.
9 years ago
Dag Wieers 1afa369eec Move the Github issue and pull-request templates to .github
In essence, most people do not need to use the templates directly,
getting them out of the way increases the signal-to-noise ratio of
the root directory. Direct people to what they are looking for.
9 years ago
James Cammarata 4e528e9535 Removing explicit setting of failed/failed_when 9 years ago
Rene Moser 4264df693f docsite, cloudstack: add limited VPC support
Also see https://github.com/ansible/ansible-modules-extras/issues/1811
9 years ago
Brian Coca 6a85da7e0c avoid private attributes
hardcode adding with_ for tasks
9 years ago
Brian Coca 923548f6d5 removed test_infra from setup as it fails when using --tags 9 years ago
Brian Coca 7e6343213b complete correction of test, key exists but is false 9 years ago
Brian Coca 140df20504 corrected failed_when test 9 years ago
Brian Coca df1268ed69 Merge pull request #14892 from dagwieers/patch-14
Another misspelling
9 years ago
Brian Coca 05983fdaa5 Merge pull request #14891 from dagwieers/patch-13
Fix misspelling and some cosmetic change
9 years ago
Brian Coca 08e5240c87 Merge pull request #14888 from nitzmahone/test_test_infra
Smoke test test infrastucture
9 years ago
Brian Coca 1c1f5e9f99 Merge pull request #14889 from nitzmahone/fix_failed_when_blind_override
Fix blind override in failed_when
9 years ago
Peter Sprygada ca2871de20 Merge pull request #14697 from privateip/shared_module_openswitch
bugfixes for openswitch shared module
9 years ago
Peter Sprygada ae5951b97f Merge pull request #14698 from privateip/plugin_action_ops_template
updates the ops_template plugin action backup key
9 years ago
Dag Wieers a5e11b1325 Another misspelling
...while reading the source
9 years ago
Dag Wieers d7d04ad2cd Fix misspelling and some cosmetic change 9 years ago
nitzmahone dbff3a6bbc Fix blind override in failed_when
caused all task failures to be success
9 years ago
nitzmahone 6c835b2600 ensure assert and fail work before we test anything else 9 years ago
Brian Coca 18e9bc9753 common retry and rate limiting decorators for apis
allows modules to wrap their request functions in common retry and rate limiting
decorators or functions
9 years ago
Brian Coca 9318727021 corrected changed_when handling 9 years ago
James Cammarata 7f233c4c5e Updating submodule refs 9 years ago
Toshio Kuratomi 331f62f769 Update submodule refs 9 years ago
Toshio Kuratomi 0628951ac6 Handle shlex incompatibility between python2.6 and python3 9 years ago
Toshio Kuratomi c0e2dd1693 Fix ssh connection plugin to work with python3 9 years ago
Toshio Kuratomi 2b8a0cdddc Fix ssh connection unittests for python3.4 9 years ago
James Cammarata eb463fab00 Also changing ansible-shell -> ansible-console in cli code comments 9 years ago
Brian Coca 369b3b317e renamed shell to console in last spot 9 years ago
James Cammarata 9d61a6cba8 Fixing PlayIterator bugs
* Unit tests exposed a problem where nested blocks did not correctly
  hit rescue/always portions of parent blocks
* Cleaned up logic in PlayIterator
* Unfortunately fixing the above exposed a potential problem in the
  block integration tests, where a failure in an "always" section may
  always lead to a failed state and the termination of execution
  beyond that point, so certain parts of the block integration test
  were disabled.
9 years ago
Brian Coca d7bd5fc075 Merge pull request #14824 from bcoca/ansible_shell
draft 1st release of ansible shell
9 years ago
Brian Coca cf250d4f89 Merge pull request #14833 from bcoca/when_lists
make all conditionals lists
9 years ago
Matt Martz cf729fcb82 Merge pull request #14882 from emonty/devel
Detect empty cache files in openstack inventory
9 years ago
Monty Taylor 82c150b72f Detect empty cache files in openstack inventory
There are cases where it makes more sense to zero out a cache file as a
form of invalidation instead of removing it. Detect those approrpriately
9 years ago
Brian Coca 7067bb32b8 make all conditionals lists
this brings them to equivalence with when:
fixes #13905
9 years ago