summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New release v2.6.16v2.6.16Toshio Kuratomi2019-04-034-1/+56
|
* [stable-2.6] Reduce testing of Ubuntu versions.Matt Clay2019-04-022-8/+0
| | | | | | | | | | | | | | | Removing: - Ubuntu 14.04 with Python 2.7 - Ubuntu 16.04 with Python 3.5 Keeping: - Ubuntu 16.04 with Python 2.7 - Ubuntu 18.04 with Python 3.6. (cherry picked from commit c8f2becb7a3d15b6c8dd8aa29eb8d0e6b7d7a9ae) Co-authored-by: Matt Clay <matt@mystile.com>
* Catch all request timeouts for winrm connection (#54104)Simon Westphahl2019-04-012-1/+5
| | | | | | | | | | | | | | * Catch all request timeouts for winrm connection The current implementation only catches 'ConnectTimeout' exceptions. Instead we should catch 'Timout' which also catches ReadTimeout exceptions. Improves on: #51744 Co-Authored-By: westphahl <westphahl@gmail.com> * Changelog for winrm error handling improvement
* win_user_right - fix non json output issue (#54495)Jordan Borean2019-04-012-6/+9
| | | | (cherry picked from commit e2d2874d8174f3a814de4b85b8e635b55868d62a)
* Get tests working on older Ansible versionsJordan Borean2019-04-011-1/+1
|
* win_acl - remove test return valuesJordan Borean2019-04-011-2/+0
| | | | (cherry picked from commit 1034b892df1b56d97ad675de6587f3b886f8129d)
* win_acl - fix support for registry paths (#54427)Jordan Borean2019-04-014-8/+202
| | | | (cherry picked from commit 10f006036c1482bd4b170719652ee52075a4a41e)
* openssl_publickey: fix handling of OpenSSH private keys with passphrase (#54192)Felix Fontein2019-03-222-6/+10
| | | | | | | | * Cleanup. * Make sure that OpenSSH passphrases are handled correctly. * Add changelog. (cherry picked from commit 1a94cf140cfec80c67b1d5ae1299d8bb9dfb184f)
* [stable-2.6] Disable failing azure_rm_managed_disk test.Matt Clay2019-03-211-0/+1
| | | | | | (cherry picked from commit 1a286a95e5ae2f5495bc22723e6676b559aec03f) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.6] Add constraint for deepdiff.Matt Clay2019-03-191-0/+1
| | | | | | (cherry picked from commit 9a135fbcefe8d3b458e0f7f326b5b7b29159cc48) Co-authored-by: Matt Clay <matt@mystile.com>
* win_file - fix glob like paths (#54003)Jordan Borean2019-03-192-2/+4
| | | | (cherry picked from commit c053bc1fc7dd351bf5039c03776cab662a112107)
* win_copy - fix glob like paths (#54006)Jordan Borean2019-03-195-52/+51
| | | | (cherry picked from commit 2f1bc34589d1dc783fec738c61a6bf4a6e3ff933)
* win_certificate_store - fix glob like paths (#54007)Jordan Borean2019-03-193-15/+17
| | | | (cherry picked from commit eb18df1a0fdcc56a5d232bafd2573ef9c01201d5)
* win_find - fix glob like paths (#54005)Jordan Borean2019-03-196-54/+76
| | | | (cherry picked from commit 8a4079ddbf528d54519172217b387fed99a5d19c)
* Merge pull request #53845 from jborean93/win-paths-2.6Jordan Borean2019-03-1832-253/+524
| | | Windows - Fix issues with glob like path chars - 2.6
* Make the timeout decorator raise an exception out of the function's scope ↵Toshio Kuratomi2019-03-182-18/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#49921) * Revert "allow caller to deal with timeout (#49449)" This reverts commit 63279823a77320b8cdf7f69d61af6eddaa5ebf33. Flawed on many levels * Adds poor API to a public function * Papers over the fact that the public function is doing something bad by catching exceptions it cannot handle in the first place * Papers over the real cause of the issue which is a bug in the timeout decorator * Doesn't reraise properly * Catches the wrong exception Fixes #49824 Fixes #49817 * Make the timeout decorator properly raise an exception outside of the function's scope signal handlers which raise exceptions will never work well because the exception can be raised anywhere in the called code. This leads to exception race conditions where the exceptions could end up being hanlded by unintended pieces of the called code. The timeout decorator was using just that idiom. It was especially bad because the decorator syntactically occurs outside of the called code but because of the signal handler, the exception was being raised inside of the called code. This change uses a thread instead of a signal to manage the timeout in parallel to the execution of the decorated function. Since raising of the exception happens inside of the decorator, now, instead of inside of a signal handler, the timeout exception is raised from outside of the called code as expected which makes reasoning about where exceptions are to be expected intuitive again. Fixes #43884 * Add a common case test. Adding an integration test driven from our unittests. Most of the time we'll timeout in run_command which is running things in a subprocess. Create a test for that specific case in case anything funky comes up between threading and execve. * Don't use OSError-based TimeoutError as a base class Unlike most standard exceptions, OSError has a specific parameter list with specific meanings. Instead follow the example of other stdlib functions, concurrent.futures and multiprocessing and define a separate TimeoutException. * Add comment and docstring to point out that this is not hte Python3 TimeoutError (cherry picked from commit bd072fe83a932598d5d86f9548d8f2ba0ec07371)
* Handle binary files when scanning metadata in python 3 (#53773)Jordan Borean2019-03-181-2/+6
| | | | (cherry picked from commit c2466c545bce1c89bed5ca6536376444d01f0522)
* win_psexec: make the tests more stable (#53716)Jordan Borean2019-03-182-7/+4
| | | | (cherry picked from commit 33939f7fe8bb214cf87260fafb2f6be683ce5fea)
* [stable-2.6] Changelog lint and generation bug fixes. (#53792)Matt Clay2019-03-151-3/+17
| | | | | | | | | | * Add missing dict entry for changelog generation. * Enforce str and list types on sections. * Check type of section list items. * Support non-ascii characters in changelogs.. (cherry picked from commit 90a38670be6a09dd51d2a44a253d681513e7ab95) Co-authored-by: Matt Clay <matt@mystile.com>
* win_chocolatey Fix incompatibilities with latest Chocolcatey releaseJordan Borean2019-03-152-1/+4
|
* Update Ansible release version to v2.6.15.post0.Toshio Kuratomi2019-03-141-1/+1
|
* New release v2.6.15v2.6.15Toshio Kuratomi2019-03-144-1/+42
|
* [stable-2.6] Keep existing to_yaml behavior with pyyaml >= 5.1. (#53772)Matt Clay2019-03-132-1/+4
| | | | | | | | | | | | | In pyyaml versions before 5.1 the default_flow_style for yaml.dump was None. Starting with 5.1 it is now False. This change explicitly sets the value to None to maintain the original to_yaml behavior. The change to pyyaml was made in the following commit: https://github.com/yaml/pyyaml/commit/507a464ce62c933bf667b2296a96ad45f0147873 (cherry picked from commit 7f0e09aa3152597cde7007ba86b29a489a9b8cbf) Co-authored-by: Matt Clay <matt@mystile.com>
* Fixed win_file crash with hidden files (#52584)S2019-03-113-1/+24
| | | | | | | | | | | | | | * Fixed crash with hidden files added "-force" parameter on "Get-Item" cmdlet. this is needed to get file info if the file is "hidden" without this option modules like win_file, win_template, win_copy crashes on hidden files. this is because with "test-path" it sees that the file exists, but "get-item" can't get the file info. for more information on "-force option": https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-item * Add changelog and integration tests * fix tests for older Windows versions (cherry picked from commit 3bc474bf99ad2109262366809bd735deef1312ee)
* win_domain: fix issue when running without credential delegation (#53480)Jordan Borean2019-03-112-16/+34
| | | | | | | | | | | | * win_domain: fix issue when running without credential delegation * Add check for reboot is required to complete role e install * Fix changelog sanity issue * removed meta file accidentally committed (cherry picked from commit 008db85d44ac47fd36b9b5edf9771d04cafb451f)
* Mark ec2_vpc_vgw as disabled to avoid hitting the resource limit (#53082)Sloane Hertel2019-03-081-0/+1
| | | | | | * Mark ec2_vpc_vgw as disabled to avoid hitting the resource limit (cherry picked from commit c4d0c58c5a07a9e0d9c07dc3935d585d3b4df74d)
* winrm - try and recover from a send input failure (#53187) (#53306)Jordan Borean2019-03-062-6/+19
| | | (cherry picked from commit ae24bbff4abf7dce43026f18bf113c2f76ba8301)
* OpenSUSE - Add OpenSUSE 15 test containers (#52793)Jordan Borean2019-03-042-4/+8
| | | | | | | | | | | | * OpenSUSE - Add OpenSUSE 15 test containers ci_complete * Reset matrix back to normal * Set container version instead of latest * Remove old Docker completion file (cherry picked from commit 3635c59b23e16862946ba0deb054195c42316fbc)
* Add changelog fragmentJordan Borean2019-03-041-0/+2
|
* Make zypper work with python3Robin Roth2019-03-041-1/+1
| | | | (cherry picked from commit 24e94ec3c624fafb23c30ac6da0673769c63c5a8)
* Don't run integration tests for OS'es older than Windows 2016 (#53057)Wojciech Sciesinski2019-03-012-0/+8
|
* fix no_log indentation so AWS temporary credentials aren't displayed in testss-hertel2019-03-013-2/+4
| | | | (cherry picked from commit 6cacbcba665af685608253d16275d3bcf33dfa79)
* ACI: Fix examples in documentation (stable-2.6)Dag Wieers2019-02-261-17/+47
|
* Suse add py3 package vars (#52794)Jordan Borean2019-02-222-0/+12
| | | | (cherry picked from commit 80652ad054ecc32c1c9f5b78315862811210c080)
* test - add setup target that creates the nobody user (#52750)Jordan Borean2019-02-225-0/+15
| | | | | | | | | | * test - add setup target that creates the nobody user * do not set explicit gid/uid for nobody user * Do no create group and only touch basic attributes (cherry picked from commit 17bfc60423404b08cc17f5eb0e1718d61c5fef57)
* test - add Python 3 package for OpenSUSE in setup_openssl (#52775)Jordan Borean2019-02-211-0/+1
| | | | (cherry picked from commit 63c22f6eb0630858b02b1c4eb7982bdd42b7d493)
* fix filesystem tests on OpenSUSE 15+ (#52716)Jordan Borean2019-02-212-2/+8
| | | | (cherry picked from commit 5e3e0eb9461684ab089f7bd45de0b6a9ca15d0fb)
* test suse: get tests working on newer OpenSUSE distributions (#52539)Jordan Borean2019-02-212-3/+10
| | | | (cherry picked from commit c312287731b4658deadbc36edde391d2f6f16ee8)
* backport/2.6/40092 (#51910)plumbeo2019-02-212-3/+5
| | | | | | | | | | | | * mysql_user: Match quotes, double quotes and backticks when checking current privileges (cherry picked from commit 1ae0e2138332dad30f5bdd9a46d46b1abf9be868) * Add changelog fragment for PR #40092 (cherry picked from commit 8974ce3c78557a4ea36b7c33b5dc9361bdea92a1) * mysql_user: fix malformed regex used to check current privileges
* Update Ansible release version to v2.6.14.post0.Toshio Kuratomi2019-02-211-1/+1
|
* New release v2.6.14v2.6.14Toshio Kuratomi2019-02-214-1/+43
|
* git: kill gpg-agent in tests on newer OpenSUSE hosts (#52476)Jordan Borean2019-02-181-1/+1
| | | | (cherry picked from commit bb0a69e0845e2bd34cb715c05b977e1a8b31cfe2)
* resolved merge conflictsZim Kalinowski2019-02-182-0/+4
|
* fixed merge conflictsZim Kalinowski2019-02-182-0/+4
|
* Fixing managed disk facts (#51781)Zim Kalinowski2019-02-182-1/+16
| | | | (cherry picked from commit 0c8c72a0bfe34d282d14253aed56bb51bf63de99)
* alternatives - fix OpenSUSE dir on newer distros (#52458)Jordan Borean2019-02-182-0/+1
| | | | (cherry picked from commit 3ecd6e19f7aac594f2e9c887dc49693a2ef5728a)
* zypper_repository: fix return check on newer OpenSUSE versions (#52457)Jordan Borean2019-02-181-1/+1
| | | | (cherry picked from commit d6453a79f5a9fa8d12eb1d12cd1a1b50ee72602a)
* zypper: fix tests to use new URL for OpenSUSE 15.0 (#52453)Jordan Borean2019-02-181-1/+1
| | | | (cherry picked from commit 4b296da6a29503d250277eea05fcb89d01da6e05)
* Backport/2.6/45378 (#52448)Zim Kalinowski2019-02-183-0/+9
| | | | | | * backporting fix for sql tags * removed unnecessary tests
* opensuse - install password-store from specific repo (#52439)Jordan Borean2019-02-182-4/+24
| | | | (cherry picked from commit 4a94bd8d9db2a4fd4a67097370e20dc8e5d90eeb)