| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#75452)
Rather than adding further complexity to the regex, preprocess the output to
remove any empty lines. Now the only purpose of the regex is to fix
wrapped lines.
Fixes #70949
(cherry picked from commit 51f2f1ac5ee1416f097587ff81b721b3ccc36971)
Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
|
|
|
|
|
|
|
| |
* ansible-test - Add Python 2 certifi constraint.
* Fix consul test.
* Fix consul test for centos6.
|
|
|
|
|
|
|
|
| |
* ansible-test - Pin rstcheck version.
* ansible-test - Support newer Jinja2 versions for rstcheck sanity test.
(cherry picked from commit 5859e99a30e863112a108f2cd5017e19be5a3419)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
| |
(cherry picked from commit 7a8c6d74188b56228db77fed727cf1fdf3cc141d)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
| |
The `--boxed` option is deprecated..
(cherry picked from commit eaeec8a65c4bf9066c5a2c180ec11872f84e6b67)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
| |
Installation of MarkupSafe 2.1.0 and later require setuptools 39.2 or later,
or a recent version of pip which supports installation using a wheel.
Some systems will not have new enough versions of pip and/or setuptools,
especially virtual environments -- including those created by ansible-test.
|
|
|
|
|
|
| |
(cherry picked from commit c27fd777f4d82fc1eefaa20114cf1f76b7ce1bee)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.9] ansible-test - Use relative paths in junit output. (#76871)
* ansible-test - Use relative paths in junit output.
* ansible-test - Handle out-of-tree JUnit paths.
* Also fix a traceback in the junit callback during automatic fact gathering.
(cherry picked from commit fbb5d56bd274c44b193cb95f0230b9352f62aab2).
* Fix task path unicode error in junit callback.
(cherry picked from commit 41db6d8d35900d425df3228406db3fec61ab2269)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(#75805). (#75810)
(cherry picked from commit 79e9dae29212a88aa60122ca6bd608947399017f)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
| |
This prevents `pylint` from failing with warnings reported as errors and with no test results given.
Resolves https://github.com/ansible/ansible/issues/75791
(cherry picked from commit a00c61719b825c21c629d25244715c82716548e3)
Co-authored-by: Matt Clay <matt@mystile.com>
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit 5faae7f464dc7c60ed3a416656ce0144ff94125b.
Now that `setuptools` version 58.0.3 has been released, this change is no longer needed.
|
|
|
|
| |
The recent release of setuptools 58.0.2 breaks installation of coverage since
it references the 'use_2to3' feature.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Attributes compat (#75563)
* ignore 'attributes' for json dump
let existing overrides display, wont be full info but still pertinent info
though user will have to check newer versions
(cherry picked from commit 463cf9fe244430249701509fc3ee7636a18afc44)
(cherry picked from commit 93cc74ba13c28785d8e4b62adc8eb62f42860efb)
* Update test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix dnf package matching (#75411)
* Fix a bug with the dnf module not using all components of a package name when filtering to determine if it's installed
* changelog
* Simplify splitting on the last '.'
* Update lib/ansible/modules/dnf.py
(cherry picked from commit b541a148d51e75b298e71161c022b12cd8ebba7c)
* Fix dnf test assertion
(cherry picked from commit 91a26ddcefb393e48ac93d442b3922bf2fde0de7)
|
|
|
| |
(cherry picked from commit 46819a65fa309dad7349c9dd325532f0a9c576ae)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.9] allow env to override unspecified unsafe_writes (#73282)
* allow env var for fallback value for unspecified unsafe_writes.
(cherry picked from commit c7d4acc12f672d1b3a86119940193b3324584ac0)
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
* ensure unsafe writes fallback (#70722)
* Ensure we actually fallback to unsafe_writes when set to true
add integration test
add fix for get_url not passing the parameter from args
(cherry picked from commit 932ba3616067007fd5e449611a34e7e3837fc8ae)
* Added clog missing for issue 70722 (#73175)
(cherry picked from commit d6670da1d7bc81dccd522d1bc27cc25164ef1aba)
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* restores delegatd vars that were not passed
this will restore delegate display on callbacks using the vars
also moves to use delegate_to directly on the default callback
* clog
(cherry picked from commit cbc83545582d8d7a718140263c465129e0e535d9)
(cherry picked from commit ed456f25f6fb1cdafe78d59f1bf0166afbba0383)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Setup virtualization_facts - add RHV and oVirt type
* initialize sys_vendor only once
* add changelog
* Update 72876-setup-facts-add-redhat-vendor.yml
* Update linux.py
* Change only RHV virtualization_type
* Update 72876-setup-facts-add-redhat-vendor.yml
|
| |
|
| |
|
|
|
|
|
|
| |
ansible-test aws provider now creates and exposes a new tiny_prefix
variable to provide a shorter prefix for the AWS tests.
(cherry picked from commit 5b8fb4dcd3d84aad77330644a7326bc16dd02a3b)
|
|
|
|
|
|
|
|
|
|
| |
(#75220)
* Prevent ansible_failed_task from further templating
Fixes #74036
* Add changelog.
(cherry picked from commit 664531d7d6253d5bdb182727501c08e3b5aea0c1)
Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit 67bc49e001e6cbd6736e1dbc3d8b07f9bccda2bb)
Co-authored-by: Felix Fontein <felix@fontein.de>
|
| |
|
| |
|
|
|
|
|
| |
Fixes: https://github.com/ansible-collections/ansible.posix/issues/179
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
| |
CVE-2021-3583
ensure we always have unsafe
Co-authored-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit 4c8c40fd3d4a58defdc80e7d22aa8d26b731353e)
|
|
|
|
|
| |
* Fixes #74802
Signed-off-by: Hideki Saito <saito@fgrep.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- websocket-client >= 1 requires python 3, so add constraint for python
2.
Test Plan:
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
* avoid a mysql_variables check on rhel 8
Signed-off-by: Rick Elrod <rick@elrod.me>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.9] CI and compat fixes for Jinja2 >= 3.0 (#74666)
* Add constraint for MarkupSafe
MarkupSafe >= 2.0.0 requires Python >= 3.6.0. Add a constraint for older Python versions
and fix the `groupby_filter` test.
* Fix template_jinja2_latest test.
* patch filter decorators on newer Jinja2
* Jinja2 >= 3.0 renames several filter decorators used by Ansible itself, as well as by filters in collections. This patch ensures that the old names are usable within Ansible and by collections without warnings or errors.
* Ignore docs-build issues.
* Remove unnecessary ignore.
* Disable failing nuage_vspk test.
* Fix inventory_aws_conformance integration test.
(cherry picked from commit f99d0248517c9dacc4594bc87d54626cdce59bfd)
Co-authored-by: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Davis <mrd@redhat.com>.
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
|
|
|
| |
(cherry picked from commit 877e5b3dfe3d19d4fdd98e415a1d9b5c5efb204b)
Co-authored-by: Matt Clay <matt@mystile.com>
|
| |
|
| |
|
|
|
|
|
|
| |
(cherry picked from commit cb7f4f19717e91930f695fe0be5adc6cacf5162f)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ansible-test] Sync opensuse containers with 2.10
Change:
- OpenSuSE 15.1 is now EOL
- Switch containers to use what 2.10 uses, which has 15.2.
Test Plan:
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
* docker version
Signed-off-by: Rick Elrod <rick@elrod.me>
* needs p7zip-full, otherwise we only get 7zr
Signed-off-by: Rick Elrod <rick@elrod.me>
* Make sure py2 stays py2
Signed-off-by: Rick Elrod <rick@elrod.me>
* no wildcard?
Signed-off-by: Rick Elrod <rick@elrod.me>
* -x instead of --xml
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
| |
(cherry picked from commit 14ff5e213cd084480d628ec0562200b174b6fa79)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When FIPs mode is enable on centos-8, we are not able to load md5
functions.
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit a95213d2f521bc281f2be102a1b7008bc6762a7c)
Co-authored-by: Paul Belanger <pabelanger@redhat.com>
Co-authored-by: Paul Belanger <pabelanger@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#74179)
* validate_modules: fails with .id attribute not found
This patch addresses a problem in the `found_try_except_import` test.
This module tries to identify lines like:
`HAS_FOO = True`
In this case, the target (`HAS_FOO`) is of type `ast.Name` and has a
`id` attribute which provide the name.
In my case, I've a line that set a module attribute`. In this case, the
target (`module.var`) has the type `ast.Attribute` and no `id`
attribute. The code trigger an `AttributeError` exception.
This patch ensures we compare a `ast.Name`.
* Update test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/main.py
(cherry picked from commit 7cf80f50d16b7a7a2ba9f1318bdca5df53936369)
|