| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
* Have tests use shortname in action_groups to uncover an issue
* Alias shortname from action_groups to FQCR of owning collection
* Add clog frag
* Don't overwrite
|
|
|
|
|
|
|
|
|
|
|
| |
* hostname: Change "strategy" to "use" (#74815)
Fixed typo: 'strategy' to 'use'
(cherry picked from commit 63701b1b6b18a0d396c8b96debebf4de1cd20098)
* Add changelog fragment for backport of #74815
Co-authored-by: bdouxx <bdouxx-git@yahoo.fr>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(cherry picked from commit 99a983c92ca981f189ce97bec7b566d59300950a)
Co-authored-by: Boris Korzun <drtr0jan@yandex.ru>
|
|
|
|
|
|
|
|
|
|
|
| |
* Handle netconf plugin ncclient import error when running in FIPS mode
* While running in FIPS mode importing ncclient result in
InternalError raised by cryptography
* Refer https://github.com/ansible/ansible/pull/65477
(cherry picked from commit d8bf4206e446c45ba057e85819278cef5fbeff2c)
Co-authored-by: Ganesh Nalawade <ganesh634@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#75604) (#75684)
* Fix role with empty argument_specs.yml
* Use try/except and add changelog fragment
* Always return a dict
* Add test for empty argument_specs key
(cherry picked from commit 3e7a6222047aae29db4ce0005c0bdf320c7f7918)
Co-authored-by: devon-mar <devon-mar@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
* PowerShell - Ignore environment variables when building C# code
* Just unset LIB for now
* Fix sanity issue
(cherry picked from commit 097bc07b6663932705dc2a4baaa5765112fc270e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#75468) (#75750)
* If an exception occurs when getting a collection's metadata, continue to the next in the server list.
* Warn for unknown exceptions when finding versions of a collection
* Test that an invalid server is no longer fatal if a subsequent server has the collection
* Fix server for verify tests - compare checksums against the server from which it was installed
* Add tests for verify and fix that code path to mirror install/download behavior for server errors
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit 469b559ebe44451ad60b2e534e284b19090b1c18)
|
|
|
|
|
|
|
| |
(#75805) (#75808)
(cherry picked from commit 79e9dae)
Co-authored-by: Matt Martz <matt@sivel.net>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* various fixes to command
- Updated splitter to allow for all expected args in ad-hoc
- Ensure we always return the returns we promissed to always return (i.e stderr/stdout)
- Updated docs to clarify creates/removes precdence in checking
- Removed abspath from chdir to allow reporting to handle symlinks correctly
- Corrected tests to new output messages
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit b3b1dde64887b1646633f0c30eecd03bbbe9218c)
|
|
|
|
|
|
|
|
|
| |
* setup module, dont truncate hpux interfaces
fixes #70533
no hpux to test so relying on man page and users that reported successful testing
(cherry picked from commit 03083c3139fa4b4da19ddec143f5f7d9e69dee9a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* avoid getting delegated vars w/o inventory host
fixes #75512
In the case of imports, we don't have a host, so getting host vars for
the delegated host makes no sense and should be avoided.
* also avoid error on vars_files with per host vars
* test
* testing given case
* oops
(cherry picked from commit 91319c5cfc523fb9dfb343be81ff373ec394818a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make individual dirs that should exist instead of using shutil.copytree
* Test build_ignore when installing collections in git repos
* changelog
* Fix assertion
Fix git directory
* Fix nested content while building the collection dir
Test installing a collection from a git repo and artifact have the same result
Refactor to use variables
(cherry picked from commit f38a97cece7eb28ee93dac9ff4d734f657b7a9c4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve ansible-galaxy error for InconsistentCandidate exception (#75235)
* Improve error for InconsistentCandidate exceptions
* Add test case for installing a collection with an inconsistent version
* Add test case for installing a collection that has a dependency with an inconsistent version
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
(cherry picked from commit e24eb59de55c55a6da09757fc5947d9fd8936788)
* Handle extra stderr for Python 2.7
|
|
|
| |
(cherry picked from commit 3ca50a2200cba04b6fa82e27e485784cee011277)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ignore attributes in output
* ignore 'attributes' for json dump
* actually add file
* clog
* sometimtes its not a dict
* always ignore
* also allow validation to work on newer modules
* remove attributes doc
let existing overrides display, wont be full info but still pertinent info
though user will have to check newer versions
|
|
|
|
|
|
| |
* combine vars and in correct precedence
* add examples
(cherry picked from commit 2462ec74a06a61fe548891844e998f7b747a7be7)
|
|
|
|
|
| |
fixes #75354
(cherry picked from commit ff72908b4d740ce560ab4c2e639960e91b4e507b)
|
| |
|
|
|
|
|
| |
Fixes #75568
(cherry picked from commit 9c2f44b8848a317a2304254eba0b9b348d5034ad)
|
|
|
|
|
|
|
| |
* Remove unused import from test
(cherry picked from commit 74b2add460f25b83ae728b06e50d06321a2a9b79)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
|
| |
(#74824) (#75402)
mostly for use with network_os
use 'remote is local' property as indicator
ensure task_vars are as expected in test
(cherry picked from commit 8d41b97329cae281ce194dbb8cb3ce35fdce23ec)
|
|
|
| |
(cherry picked from commit 75e6bdb5799ffb310bca9fee0707b5c6ffb15cc5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
binary (#75363)
Test for the required binaries in the can_handle_archive() method and fail there. This
prevents failures for missing binaries unrelated to the archive type.
* Update missing zip binary message to match tar message
* Update unit tests
* Add integration tests
* Define packages based on the system rather than ignoring failures
(cherry picked from commit 004c33d9c5fdb20a46b9ef8fb0e203dd34bed3b3)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
|
|
|
|
| |
(#75384) (#75409)
Fixes #75371
(cherry picked from commit 5a3807656860cc52c7e6b3eebc5c9397585525ba)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix ssh cli defaults (#75245)
* fix ssh cli defaults
fixes #75221
(cherry picked from commit e5a2fe4c419740e9a709b07b064063f54277b983)
* github conflict?
* removed retries backrpot
also removed tests since they rely on features that don't exist in this version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tuple (#74613) (#75336)
* fix: action _fixup_perms2 macos +a remote_paths in list() as it can be tuple
in `lib/ansible/plugin/action/__init__.py`'s `_fixup_perms2`,
`remote_paths` can be a list or tuple. however, the macos
specific attempt to use chmod +a attempts to concatenate
`remote_paths` with a list, which will fail if it is a tuple.
wrapping `remote_paths` in `list()` fixes this error.
* Update changelogs/fragments/74613-actionfixup_perms2_macos_remote_paths_ensure_list.yml
Co-authored-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit df6554c4ec8b1256067bc2510134ac49cfc3003c)
Co-authored-by: Shane St Savage <shane@axiomdatascience.com>
|
|
|
|
|
| |
Fixes #75275
(cherry picked from commit 767b2f07b00be12b9366655095cf24120d35092e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix when evaluation on Native Jinja and Python 3.10
* Add unit test
* Add explaining comment
* Enable jinja2_native before tests
Co-Authored-By: Matt Martz <matt@sivel.net>
* Sanity
* Return native template module instead of modifying globals
Co-authored-by: Matt Martz <matt@sivel.net>
(cherry picked from commit 58e38044fe9c8fc7e06ffd61a93f88db27536af1)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve the error handling code
Rather than multiple return paths, have a single return and set the message based
on the type of failure.
* Add another test for non-specific failures
* Reorganize tests so failure tests are in one tasks file
* Remove os.stat() call and add changelog.
(cherry picked from commit afe6eb574ef8e53e805cc1ff2b25dd9108b29e1c)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#75106) (#75132)
* module_common - handle cache directory creation collision
Occasionally multiple workers can try to create the cache directory if it exists. Catch the exception
and handle it.
* Just re-raise if it doesn't exist rather than trying again
* Use exists_ok rather than handling an exception
* Remove unused import and unused variable
* Go back to try/except but with OSError
Since we do not have split controller remote, this needs to be able to run in Python 2 in order
to be merged currently.
(cherry picked from commit 16a74b798c)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
|
|
| |
coverage (#75036) (#75044)
(cherry picked from commit 4ab791d501771d34fef6edb8f2f7932ed3885687)
|
|
|
| |
(cherry picked from commit 5ac1b04929aae38e4a4cfd199051f76c7aa187a0)
|
|
|
|
|
| |
output. (#74999) (#75003)
(cherry picked from commit 58450f041a6ffc343e5d19569580f5189e09200c)
|