Commit Graph

40580 Commits (e75fcd8b134a3f7a6809fe13ef67d4f45c8459ee)
 

Author SHA1 Message Date
Matt Clay e75fcd8b13 [stable-2.7] Disable failing azure_rm_storageaccount test.
(cherry picked from commit 342b9953bc)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Justin Ossevoort 92e6db7431 [stable-2.7] Fix 'Assert CNAME failure' assertion (#65875)
(cherry picked from commit 14ebceec25)

Co-authored-by: Justin Ossevoort <github@internetionals.nl>
6 years ago
Sandra McCann fb7a5c7ef4 update version metadata to get faceted swiftype search running (#65574) (#65581)
* update version metadata to get faceted swiftype search running

(cherry picked from commit 96cbbdd59f)
6 years ago
Toshio Kuratomi d8d9c9217d [stable-2.7] Add or later to the license expressed in the README (#65289)
This is a clarification, not a relicensing.

Our source code says "GPLv3+" or "version 3 of the License, or later".
Our documentation says GPLv3+:

https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/dev_guide/developing_modules_checklist.rst#contributing-to-ansible-objective-requirements

We were just lazy when we wrote the README and left out the "or later".
this update to the README brings it in line with what everything else
says.
(cherry picked from commit a15fb26)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
6 years ago
Matt Davis cf09a1674c Update Ansible release version to v2.7.15.post0. 6 years ago
Matt Davis 0623dedf2d New release v2.7.15 6 years ago
Matt Davis 75288a89d0
Callback: removing args from task_fields from Sumologic and Splunk plugin(#63527) (#64748)
CVE-2019-14864 Ansible: Splunk and Sumologic callback plugins leak sensitive data in logs

Fixes #63522

Signed-off-by: Patrick O’Brien <patrick.obrien@thetradedesk.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit c76e074e4c)
6 years ago
Jordan Borean ab910e1f5a win_psmodule - remove reliance on PSGallery in the tests for stable-2.7 (#64468)
* win_psmodule - remove reliance on PSGallery in the tests for stable-2.7

* Ignore non-powershell files from sanity check
6 years ago
Sandra McCann 0b4b832f9c [Doc-Release-2.9] Backport/2.7/docs release (#64272)
* docs: update to latest 3 versions (#64109)

(cherry picked from commit 409545825f)

* [Doc-Release-2.9] update release and maintenance page for 2.9 (#64166)
* update release and maintenance page for 2.9
* only 2.4 and earlier used the old changelog system

(cherry picked from commit 3f808d9ed6)
6 years ago
Toshio Kuratomi 60dfb26c3a Update Ansible release version to v2.7.14.post0. 6 years ago
Toshio Kuratomi 71affa9d7c New release v2.7.14 6 years ago
Sam Doran 0fd656e996 [stable-2.7] Properly mask no_log values is sub parameters during failure (#63405)
(cherry picked from commit 156330b485)

Co-authored-by: Sam Doran <sdoran@redhat.com>
6 years ago
Jill R b65984981f [stable-2.7] Fix STS assume role error message when role does not exist (#63249)
AWS appears to have changed this error message again.
Fixes https://app.shippable.com/github/ansible/ansible/runs/145643/115/tests
(cherry picked from commit ce402f003f)

Co-authored-by: Jill R <4121322+jillr@users.noreply.github.com>
6 years ago
Matt Martz 40618d70e6 [stable-2.7] Wrap CLI passwords as AnsibleUnsafeText (#63352) (#63392)
* [stable-2.7] Wrap CLI passwords as AnsibleUnsafeText (#63352)

* isa string should rewrap as unsafe in get_validated_value

* _is_unsafe shouldn't be concerned with underlying types

* Start with passwords as text, instead of bytes

* Remove unused imports

* Add changelog fragment

* Update changelog with CVE.
(cherry picked from commit baeff7462d)

Co-authored-by: Matt Martz <matt@sivel.net>

* Update tests
6 years ago
Toshio Kuratomi 90e74dd260 Fix for plugins which used the boto libraries leaking the boto credentials to logs
(cherry picked from commit 3753304d20)

https://github.com/ansible/ansible/pull/63366
6 years ago
Dag Wieers c2f528b768 Fix whitespace issue in filter (backport 2.7)
This fixes reported issue #60276

This is a backport of #62768
6 years ago
Matt Clay 537dcebbe4 Fix pylint issue. 6 years ago
Matt Clay 634a1e2782 Limit Shippable matrix check to ansible repo.
(cherry picked from commit ada02f1966)
6 years ago
Matt Clay 6b4d2e2267 Replace old shippable.py with new check_matrix.py. (#60022)
This new script does not depend on ansible-test and provides much more robust job matrix testing.

It is also run on every job in the matrix now, to detect issues with jobs being re-run after matrix changes are made.

(cherry picked from commit d3da8e4a5b)
6 years ago
Sandra McCann 1f0a1d9e10 backport #62611 (#62618) 6 years ago
Matt Clay 34b1ded2cb [stable-2.7] Mark ansible-test cloud credentials as sensitive..
(cherry picked from commit 9f7b124a6f)

Co-authored-by: Matt Clay <matt@mystile.com>.
6 years ago
Matt Clay 23c33ccb38 [stable-2.7] Mark AWS credentials in ansible-test as sensitive.
This avoids displaying the credentials in CI when retrying tests at maximum verbosity.
(cherry picked from commit b73e772)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Matt Clay dec03d06c8 [stable-2.7] Redact sensitive values by default in ansible-test.
(cherry picked from commit 0631e057e9)

Co-authored-by: Matt Clay <matt@mystile.com>.
6 years ago
ndclt 9f2acf2f2a documentation: modify the link to the docker.txt listing all images (#61838) (#61850)
The file was moved.

(cherry picked from commit aadb192846)
6 years ago
s-hertel 00a65ac1ed Mark aws_s3 tests as unstable 6 years ago
Gonéri Le Bouder 09545a6974 Update Fedora 29 test image
(cherry picked from commit 3d78dad84b)
6 years ago
Simeon Filipov f9fb595a0b Fix typo in postgresql_privs.py (#61365) (#61428)
Change 'default_prives' to 'default_privs'

(cherry picked from commit 0074fa5672)
6 years ago
Toshio Kuratomi e32670ef1d Update Ansible release version to v2.7.13.post0. 6 years ago
Toshio Kuratomi 24007b5d4b New release v2.7.13 6 years ago
Matt Clay 62138612c8 [stable-2.7] Start dbus when setting up postgresql tests.
(cherry picked from commit c309570540)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Brian Coca d728127310 prevent templating of passwords from prompt (#59246) (#59553)
* prevent templating of passwords from prompt (#59246)

* prevent templating of passwords from prompt

  fixes CVE-2019-10206

(cherry picked from commit e9a37f8e31)

* Improve performane of UnsafeProxy __new__

This adds an early return to the __new__ method of the UnsafeProxy object
which avoids creating the unsafe object if the incoming object is already
unsafe.

(cherry picked from commit c1e23c22a9)
(cherry picked from commit 490f17c7f9)
6 years ago
Jordan Borean 6444278f44 Remove Python 2.6 from Windows tests (#60235)
(cherry picked from commit 3a3727d200)
6 years ago
Sandra McCann 6145631302 add eol banner (#59254)
(cherry picked from commit 00699735e9)
6 years ago
Sam Doran a063287e74 [stable-2.7] Wait for Ansible Tower instance to be ready
(cherry picked from commit ea209e1c2f)

Co-authored-by: Sam Doran <sdoran@redhat.com>
7 years ago
Matt Clay 2e66d73940 Remove redundant "Sanity Tests »" from page title.
The docs now have multi-level breadcrumbs so including "Sanity Tests »" in the title on a sanity test page is redundant.

(cherry picked from commit b4494fa547)
(cherry picked from commit dd42aac878)
7 years ago
Jordan Borean cf817e4436 psexec - update example for for delegation example (#59475) (#59481)
(cherry picked from commit 3581e63ca8)
7 years ago
Toshio Kuratomi 8d66a9979a [stable-2.7] Fix nightly rpm release
The nightly rpm builds were using a timestamp from the last git commit
in their Release field.  Unfortunately, that was using author timestamp
which is nonsequential.  Change to using commit timestamp which is
sequential.

note that this still has a cornercase if the branch's history is ever
rewritten.
(cherry picked from commit 97edfcc)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
7 years ago
Felix Fontein 6ec0632bec [stable-2.7] Re-enable docker_container tests (#59425)
Mark dependent container's ipc_mode as shareable
(cherry picked from commit 266d6e77a9)

Co-authored-by: Felix Fontein <felix@fontein.de>
7 years ago
Sloane Hertel df7e6c147b disable s3_lifecycle tests (#59311)
(cherry picked from commit 1d3f2c7764)
7 years ago
Wojciech Sciesinski de3f32df4f Correct a documentation of the jenkins_plugin module (#59330)
It's a backport of #59139
7 years ago
Sam Doran 3f0de5c438 [stable-2.7] Improve setup_docker tests to work with RHEL 8 GA (#58649)
- use include_vars to set appropriate packages and pip packages per distribution and version
- install an older version of Docker CE on RHEL 8 since a dependency is unavailable
- disable warnings on tasks that are ok
- skip tests for CentOS/RHEL 6.
(cherry picked from commit d50c8c2b83)

Co-authored-by: Sam Doran <sdoran@redhat.com>
7 years ago
Sam Doran 9b1575cfeb [stable-2.7] Improve dnf test formatting and fix RHEL 8 module name (#58648)
- use single include_vars task rather than multiple set_fact tasks
- use multi-line YAML to break up long conditionals
- use version() test rather than direct comparisions
- use different appstream package on RHEL since '@swig:3.0/default' is not working in the GA.
(cherry picked from commit 16d6fcf514)

Co-authored-by: Sam Doran <sdoran@redhat.com>
7 years ago
Sandra McCann 4e63b681f2 Add a banner message to warn when not on latest documentation (#58526) (#58765)
* add banner to versions that are not latest
(cherry picked from commit 35b6345bdc)
7 years ago
Toshio Kuratomi 0d14de6bf6 [stable-2.7] Fix unicode error in changelog generation
(cherry picked from commit fed90ef)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
7 years ago
Toshio Kuratomi 20f6ba5da8 Update Ansible release version to v2.7.12.post0. 7 years ago
Toshio Kuratomi 1fb35cd857 New release v2.7.12 7 years ago
Toshio Kuratomi 7d4e9b279e [stable-2.7] Skip tests with unsatisfied deps (#55853)
* Skip gitlab tests if dependencies aren't met

* Skip certain unittests if passlib is not installed

* Fix tests with deps on paramiko to skip if paramiko is not installed

* Use pytest to skip for cloudstack

If either on Python-2.6 or the cs library is not installed we cannot run
this test so skip it.
(cherry picked from commit 8acf71f78f)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
7 years ago
Sam Doran 28816088e4 Make nuage_vspk test more reliable
- don't background the nuage-vsd-sim
- increase the asncy timeout
- use uri to actually query the simulator API to make sure it is ready for connections

(cherry picked from commit 911a2ec6d3)
7 years ago
Matt Clay 1a2bafa510 [stable-2.7] Fix nuage_vspk integration test:
- Wait for API to be ready.
- Enumerate test cases on controller.
(cherry picked from commit 29de0619e8)

Co-authored-by: Matt Clay <matt@mystile.com>
7 years ago
Felix Fontein b7f15c69b1 [2.7] docsite: remove lexers which have been fixed in Pygments 2.4.0 (#58101)
* docsite: remove lexers which have been fixed in Pygments 2.4.0 (#57508)

* Remove lexers which have been fixed in Pygments 2.4.0.
* Add Pygments >= 2.4.0 to test runner.
* Fix pages that triggered lexer errors.

Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit 505c99265c)

* fixes 'could not lex literal_block' errors
7 years ago