Commit Graph

19917 Commits (787616cb39a1e6ddc3eb601a97da581dc307027b)
 

Author SHA1 Message Date
Peter Sprygada 6b8c24e0f8 bug fix in netcfg replace method to handle whitespace argument 9 years ago
Peter Sprygada 75b8cf6ab3 captures the responses from running commands and adds response to object
The Command object can now store the response from executing the command
to allow it to be retrieved later by command name.  This update will
update the Command instance with the response before returning.
9 years ago
Peter Sprygada 527e4196b2 adds new method to return specific response from command to netcmd
This adds a new method that will return the output from a specified
command that has already been excuted by the CommandRunner.  The new
method, get_command takes a single argument which is the full name
of the command to retrieve.
9 years ago
Peter Sprygada 062db03f99 add get_config function to vyos shared module
This adds a new shard function get_config to retrieve the device
configuration either from module arguments or remotely from the
device.
9 years ago
Chris Houseknecht 54db1df244 Merge pull request #16559 from chouseknecht/azure-rc5
Fix authentication via params and env variables.
9 years ago
James Cammarata 83e4a4048b Fix the way pull localhosts out of inventory for delegate_to
This patch corrects the way we look in the inventory hosts list for
implicit localhost entries when localhost aliases are used.

Fixes #16568
9 years ago
Robin Roth 1f04130c00 add more distribution version tests (#16563)
* ubuntu 16.04
* solaris 10, 11
* fedora 22, 25

Thanks Peter Oliver for providing the test data
9 years ago
René Moser b410e710a0 Merge pull request #16562 from robinro/enable-apt-repo-tests-1604
reenable apt_repository tests in ubuntu 16.04
9 years ago
Robin Roth 8021adfe97 use git-core ppa instead of menulibre
menulibre is no longer actively maintained and does not support 16.04
9 years ago
Robin Roth a5e394d23a reenable apt_repository tests in ubuntu 16.04
fixes #15718
9 years ago
Chris Houseknecht c71a939b08 Fix authentication via params and env vars. Update guide to RC5. 9 years ago
Chris Houseknecht 9e93f1c907 Merge pull request #16558 from chouseknecht/azure-rc5
Update and pin to azure-2.0.0rc5
9 years ago
chouseknecht a076612b63 Update and pin to azure-2.0.0rc5 9 years ago
matsu-chara 9f8b0cabcd fix default/main.yml to defaults/main.yml 9 years ago
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
Brad Davidson 0c4effb8a6 Ignore limits and restrictions when parsing inventory.
We want to update host vars for all hosts (even those that might
have failed), and the in case of a refresh_inventory, the code has
a stale restrictions list at this point anyway.
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