Commit Graph

38369 Commits (8b483b16406e047f1ea060e06eea759e6ce99aab)
 

Author SHA1 Message Date
Jordan Borean 8b483b1640 OpenSUSE - Add OpenSUSE 15 test containers (#52793)
* 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 3635c59b23)
7 years ago
Jordan Borean 1ab1c22659 Add changelog fragment 7 years ago
Robin Roth 150edc4605 Make zypper work with python3
(cherry picked from commit 24e94ec3c6)
7 years ago
Wojciech Sciesinski 8ac0f26b28 Don't run integration tests for OS'es older than Windows 2016 (#53057) 7 years ago
s-hertel 19590192f4 fix no_log indentation so AWS temporary credentials aren't displayed in tests
(cherry picked from commit 6cacbcba66)
7 years ago
Dag Wieers fd38985604 ACI: Fix examples in documentation (stable-2.6) 7 years ago
Jordan Borean 91dee57e5f Suse add py3 package vars (#52794)
(cherry picked from commit 80652ad054)
7 years ago
Jordan Borean c078da9e09 test - add setup target that creates the nobody user (#52750)
* 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 17bfc60423)
7 years ago
Jordan Borean b94a34d9fa test - add Python 3 package for OpenSUSE in setup_openssl (#52775)
(cherry picked from commit 63c22f6eb0)
7 years ago
Jordan Borean 68507a55b8 fix filesystem tests on OpenSUSE 15+ (#52716)
(cherry picked from commit 5e3e0eb946)
7 years ago
Jordan Borean 8964ef5cfc test suse: get tests working on newer OpenSUSE distributions (#52539)
(cherry picked from commit c312287731)
7 years ago
plumbeo 9fcfd0a221 backport/2.6/40092 (#51910)
* mysql_user: Match quotes, double quotes and backticks when checking current privileges

(cherry picked from commit 1ae0e21383)

* Add changelog fragment for PR #40092

(cherry picked from commit 8974ce3c78)

* mysql_user: fix malformed regex used to check current privileges
7 years ago
Toshio Kuratomi a8a07fc66d Update Ansible release version to v2.6.14.post0. 7 years ago
Toshio Kuratomi 446012263a New release v2.6.14 7 years ago
Jordan Borean f66c006d8c git: kill gpg-agent in tests on newer OpenSUSE hosts (#52476)
(cherry picked from commit bb0a69e084)
7 years ago
Zim Kalinowski 92e62a1bf1 resolved merge conflicts 7 years ago
Zim Kalinowski ef54e0410c fixed merge conflicts 7 years ago
Zim Kalinowski 22709af2e9 Fixing managed disk facts (#51781)
(cherry picked from commit 0c8c72a0bf)
7 years ago
Jordan Borean 77e2512744 alternatives - fix OpenSUSE dir on newer distros (#52458)
(cherry picked from commit 3ecd6e19f7)
7 years ago
Jordan Borean 7c33ce5542 zypper_repository: fix return check on newer OpenSUSE versions (#52457)
(cherry picked from commit d6453a79f5)
7 years ago
Jordan Borean 81b022b4ed zypper: fix tests to use new URL for OpenSUSE 15.0 (#52453)
(cherry picked from commit 4b296da6a2)
7 years ago
Zim Kalinowski c9449694b8 Backport/2.6/45378 (#52448)
* backporting fix for sql tags

* removed unnecessary tests
7 years ago
Jordan Borean 07e0de6cf1 opensuse - install password-store from specific repo (#52439)
(cherry picked from commit 4a94bd8d9d)
7 years ago
Simon Westphahl ab4cfa1b50 Backport: Raise AnsibleConnectionError on winrm connnection errors (#52226)
* Raise AnsibleConnectionError on winrm con errors

Currently all uncaught exceptions of the requests library that is used
in winrm will lead to an "Unexpected failure during module execution".

Instead of letting all exceptions bubble up we catch the connection
related errors (inkl. timeouts) and re-raise them as
AnsibleConnectionError so Ansible will mark the host as unreachable and
exit with the correct return code.

This is especially important for Zuul (https://zuul-ci.org) to
distinguish between failures and connection/host related errors.

* Update lib/ansible/plugins/connection/winrm.py

Co-Authored-By: westphahl <westphahl@gmail.com>

* Add changelog fragment
7 years ago
Wojciech Sciesinski bec375d691 Install the NuGet package provider if needed (#52130)
* Install the NuGet package provider if needed

* Add the changelog fragment file
7 years ago
Matt Martz 4be3215d2f [stable-2.6] Disallow use of remote home directories containing .. in their path (CVE-2019-3828) (#52133)
* Disallow use of remote home directories containing .. in their path

* Add CVE to changelog
(cherry picked from commit b34d141)

Co-authored-by: Matt Martz <matt@sivel.net>
7 years ago
Jordan Borean b5122be9e1 Add Windows Server 2019 to Shippable matrix (#51685)
* Test out Server 2019 - ci_complete

* run tests and continue on error - ci_complete

* Add the full matrix back in

(cherry picked from commit 0334c20630)
7 years ago
Jordan Borean 19d20304de win become - fix token elevation issues
This is an implementation of 8bffcf8e50
that was done in the PR https://github.com/ansible/ansible/pull/48082 to devel.
The changes have been manually brought across to the the stable-2.7 branch as it
cannot be cleanly cherry picked due to the substantial differences in become
between these versions.

Currently we impersonate the `SYSTEM` token in order to elevate our become
process with the highest privileges it has available but there are some edge
cases where the first `SYSTEM` token we come across doesn't have the
`SeTcbPrivilege` which is required for the above. This PR adds a further check
in the search for a `SYSTEM` token to make sure it has the `SeTcbPrivilege`
before continuing.

(cherry picked from commit cc5088c9e1)
7 years ago
Matt Davis adbe9d5d9e fix string_format sanity check (#51780)
* newer version of Pylint moved the impl; use conditional import to find for new/old

(cherry picked from commit 6654c7aeea)
7 years ago
Wojciech Sciesinski abe3437119 Correct integration tests for the win_disk_facts module (#51044)
* Correct integration tests for the win_disk_facts module

* Exclude W2K8, W2K8-R2 from tests run under CI
7 years ago
Toshio Kuratomi 2f41b12076 Update Ansible release version to v2.6.13.post0. 7 years ago
Toshio Kuratomi 97a37b9ebc New release v2.6.13 7 years ago
Matt Davis de1c9ff56c [stable-2.6] fix azure_rm_deployment test
* recent changes to args for hosted template file broke the test; changed test to use a specific known-working commit instead of `master`.
* long-term may want to consider hosting the template in httptester or just embedding a local copy
(cherry picked from commit 46bf387)

Co-authored-by: Matt Davis <mrd@redhat.com>
7 years ago
Jordan Borean 4829854791 Get docker tests working on OpenSUSE (#51896)
(cherry picked from commit c92fcf0b57)
7 years ago
Jordan Borean c96b9cda21 test win_setup - make py3 compatible (#51693)
(cherry picked from commit f78cdcd2c5)
7 years ago
Jordan Borean 2255325287 win_service - use custom binary for tests (#51689)
(cherry picked from commit 2e99dea867)
7 years ago
Jordan Borean 5d7064db66 fix for proper variable name 7 years ago
Jordan Borean 72703bd3b7 win_power_plan: fix for Windows 10 and Server 2008 compatibility (#51471)
(cherry picked from commit f27078df52)
7 years ago
Brian Coca e9e3999ddc Handle complex quoting in extra args in pull cli (#50212)
* added tests

fixes #40729

(cherry picked from commit b6824669df)
(cherry picked from commit e010034151)
7 years ago
Jordan Borean 114d5c0368 ansible-test: make the httptester for Windows more resiliant around the shell chosen (#51416)
(cherry picked from commit ce8db479f0)
7 years ago
Jordan Borean 251961897a ansible-test: add Ubuntu 18.04 container (#50790)
* ansible-test: Add Ubuntu 18.04 to Shippable CI nodes

* re-add ubuntu1604/3 to matrix

* forgot to add environment for git kill gpg-agent

(cherry picked from commit 828df4b336)
7 years ago
Sam Doran 197daf095b Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776)
* Catch SSH authentication errors and don't retry multiple times to prevent account lock out

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Subclass AnsibleAuthenticationFailure from AnsibleConnectionFailure

Use comparison rather than range() because it's much more efficient.

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Add tests

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Make paramiko_ssh connection plugin behave the same way

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Add changelog

Signed-off-by: Sam Doran <sdoran@redhat.com>
(cherry picked from commit 9d4c0dc111)
7 years ago
Matt Clay ae96e6e261 [stable-2.6] Disable failing azure_rm_postgresqlserver test..
(cherry picked from commit 37767849ee)

Co-authored-by: Matt Clay <matt@mystile.com>
7 years ago
Abhijeet Kasurde 5613bb311f Merge pull request #51118 from Akasurde/backport/2.6/51047
[backport/2.6] Update vmware.py minor typo
7 years ago
Jacob Olsen c77f6b1d8c check for chroot in systemd module (#43904)
* check for result['status'] in systemd module

* instead of checking for result['state'], actually check for chroot and warn

* allow systemctl status to work if in a chroot, update warn text

* simply change warning message


(cherry picked from commit 37960ccc87)
7 years ago
Matt Clay 182b5c621c [stable-2.6] Fix subversion integration test on Fedora 29. (#51089)
* Fix subversion integration test on Fedora 29.

This upgrades the sqlite-libs and subversion packages to make sure
that the version of sqlite expected by subversion is installed.

* Fix compatibility with RHEL and CentOS.
(cherry picked from commit d4dbc7f2e0)

Co-authored-by: Matt Clay <matt@mystile.com>
7 years ago
Ganesh Nalawade 60a867441e Fix mandatory statement error for junos modules (#50074)
* Fix mandatory statement error for junos modules

Fixes #40267

*  Add error regex in junos terminal plugin to error out
   in case of commit fails

*  If commit fails add logic to discard changes before existing
   else next task will result in error

* Add integration test

* Minor update

(cherry picked from commit cc8e90395a)
7 years ago
Arnab Rakshit 82661d5cf4 Fixed broken link in _docker.py (#50950)
* Fixed broken link in _docker.py

* Update lib/ansible/modules/cloud/docker/_docker.py

Co-Authored-By: ArnabRaxit <arnabready@gmail.com>
7 years ago
Jordan Borean 6b485fb8f5 ansible-test git: kill gpg-agent to remove locks (#50917)
* ansible-test git: kill gpg-agent to remove locks

* skip gpg-agent kill for OpenSUSE

(cherry picked from commit 3db6b9b416)
7 years ago
Jordan Borean 9f95850fa7 ansible-test: fix cloud_init_data_facts for Ubuntu 18.04 (#50916)
(cherry picked from commit 03669cdcdd)
7 years ago