Commit Graph

19852 Commits (4e369a31db566c3017b24b1460bdc88dfb9ecad7)
 

Author SHA1 Message Date
Matt Clay 4e369a31db Fix test_async. (#16552)
* Conditionally run test_async in docker containers.
* Revise test_async test.
9 years ago
Matt Clay 292785ff2b Parse async response in async action. (#16534)
* Parse async response in async action.
* Add async test for non-JSON data before module output.
* Fix existing async unit test.

Resolves #16156
9 years ago
jctanner f86c527736 If the known_hosts file does not exist, do not attempt to stat it. (#16548)
paramiko: If the known_hosts file does not exist, do not attempt to stat it.

Fixes #10057
9 years ago
NAGA RAVI CHAITANYA ELLURI b312a43544 fix(callback-mail plugin): fixes the warning 'TaskResult' object has no attribute '__getitem__' because of which its not sending an email on failure (#16547) 9 years ago
Stian Vikan 288446c9bf Added and-quit to all commit statements. (#16411) 9 years ago
Brian Coca 7c9525b735 fix module_lang docs
fixes #16541
9 years ago
Brian Coca 07f39d92a0 updated needs_template to reflect github feature 9 years ago
Brian Coca faec03aabc fix encoding issues in profile_tasks (#16522)
* fix encoding issues in profile_tasks

fixes #16521

* really fix it

* unicode the nested

* simpler format

* readded space after name
9 years ago
Abhijit Menon-Sen 26755b3a62 Merge pull request #16538 from amenonsen/loop_control-dot
Use loop_control.loop_var directly
9 years ago
Abhijit Menon-Sen 950cc26aab Use loop_control.loop_var directly
6eefc11c converted task.loop_control into an object, but while the other
callers were updated to use .loop_var instead of .get('loop_var'), this
site was overlooked.

This can be reproduced by including with loop_control a file that does
set_fact; a simple regression test along these lines is included.
9 years ago
graywulf 9b7d782abb Ignore broken pipe errors if the sshpass process has exited (#16515)
This fix prevents a broken pipe exception from occurring when password-less
SSH is configured and the sshpass process exits and closes the pipe before
the password is written to the pipe.
9 years ago
Johanan Lieberman b3ca0c02c5 Fixed typo in Conditionals documentation page (#16537) 9 years ago
Johanan Lieberman 2f69baf1b9 Fixed typo in Conditionals documentation page (#16531) 9 years ago
Peter Sprygada 46a97e1f55 removes dependency on collections module from eos (#16485)
This removes the dependency on the Python collections module to make
it fully compliant with version prior to py2.7
9 years ago
nitzmahone 6df56f009f bump submodule refs 9 years ago
Matt Clay fbfadc47c7 Update shippable shared dir for COPY_SOURCE. (#16511)
Tests now use '/shared' instead of '/tmp/shared-dir' when using
COPY_SOURCE. This avoids issues with containers purging '/tmp'.
9 years ago
Shota 47f715fb37 Fix some typos (#16498) 9 years ago
Toshio Kuratomi 4f76222f5b Update submodule refs 9 years ago
Toshio Kuratomi c7129c4efe In some cornercases, sys.executable is empty. Work around that by choosing a sensible default path to python and emitting a warning (#16487)
Fixes #13585

Fix grammar of warning method
9 years ago
Brian Coca 7c690f04e2 task get_path returns empty string when not in play 9 years ago
Alex Willmer 52d4079184 Quote the azure requirement to prevent > causing file redirection (#16490)
Running it without quotes caused a file called '=2.0.0rc4' to be created, containing the stdout of pip installing azure 1.x
9 years ago
Peter Sprygada 216a845244 Merge pull request #16486 from privateip/netcmd
removes dependency on collections module from netcmd
9 years ago
Peter Sprygada 9b40e1106e removes dependency on collections module from netcmd
This change removes the dependency on collections so netcmd is
compatable with python versions prior to py2.7
9 years ago
Matt Clay 8f1b487141 Handle repeat includes in junit callback. (#16484) 9 years ago
Toshio Kuratomi 405dca1abe Update submodule refs 9 years ago
Brian Coca 2bb7feec6d Search path (#16387)
* smarter function to figure out relative paths

takes list of paths in order of relevance to current task
and does the dwim magic on them

* shared function for action plugins using new dwim

unify path construction and error info/messaging
made include and role non exclusive
corrected order and now smarter about tasks
includes inside roles are currently broken as they don't provide the correct role data
make dirname full match to avoid corner cases

* migrated action plugins to new dwim function

reported plugins to use exceptions instead of info

* clarified needle
9 years ago
Matt Clay e04d552bc6 Run shippable tests in unprivileged containers. (#16481)
* Run shippable tests in unprivileged containers.
9 years ago
Brian Coca d843e5a79d removed unused boolean 9 years ago
Brian Coca 9abdb1bb7c added skipped_reason for verbosity not met
fixes http://github.com/ansible/ansible-modules-core/issues/4062
9 years ago
Matt Clay f1e1558f4f Unpin yamllint now that version 1.3.2 is out. (#16479)
The newer version of yamllint fixes the UnicodeEncodeError
which previously required pinning the version to 1.2.2.
9 years ago
jctanner 4ba60d00c8 Refactor the parameter splitting in ini lookup to handle more path formats (#16477)
Refactor the parameter splitting in ini lookup to handle more path formats.

Fixes #16468
9 years ago
Brian Coca 3afe50dfe2 push unicode handling into unfrack 9 years ago
Brian Coca bae988ee9b fix path utils 9 years ago
Andrew b75fccb475 Noticed a typo (#16474)
Only major typo on document. Several terms that are not ideal English words.
9 years ago
Lars Fredriksen 4b5203c5fb add holders to partitions (#16446)
* add holders to partitions

* make holder gathering a function
9 years ago
James Cammarata af249b83e6 Don't modify the original task ds when preprocessing data
In the case of using YAML anchors/aliases, YAML actually uses references
to the duplicated object so any modifications to the original impacts
later uses of the object.

Fixes #13575
9 years ago
Matt Clay 394430a61e Switch test_lookups to badssl/local testing. (#16466)
* Switch test_lookups to badssl/local testing.
* Use var for checking badssl host content.
9 years ago
Matt Davis 1e628761a2 Merge pull request #16465 from nitzmahone/no_mustaches_docfix
update conditional docs to clarify no mustaches required
9 years ago
nitzmahone ca183c5bd8 update conditional docs to clarify no mustaches required 9 years ago
Matt Clay 81a49912b0 Pin yamllint to 1.2.2 to avoid issues in 1.3.0. (#16464)
This also moves shippable test requirements to external files.
9 years ago
Scott Mcdermott 007c20a28b Add missing {cache,inventory}_plugins to ansible.cfg (#16463) 9 years ago
Pilou b361bf90d7 Lookup password omit salt (#16361)
* Lookup unencrypted password must not include salt
* Integration test lookup: remove previous directory
* Test that lookup password doesn't return salt
* Lookup password: test behavior with empty encrypt parameter

Closes #16189
9 years ago
nitzmahone 7ba71fc2d2 CHANGELOG update for win_setup changes 9 years ago
nitzmahone 60a8af95a5 bump core submodule ref 9 years ago
Brian Coca 1b7b1ca15e if seconds are specified, min is 1 9 years ago
Peter Sprygada d83962d3f5 Merge pull request #15992 from ogenstad/asa
Module util, template action and doc fragment for Cisco ASA
9 years ago
Matt Clay 1b29c87936 Test ansible version and ping during sanity tests. (#16441) 9 years ago
Matt Clay c2a5cb6174 Fix junit callback plugin for Python 2.6. (#16440) 9 years ago
James Cammarata 04fca42b62 Fixing issues with getattr caused by 5a3493b 9 years ago
James Cammarata 25866e7219 Adding the release playbook 9 years ago