| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.
(cherry picked from commit fd341265d001d4e6545ffb2b7d154340cb1f1931)
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix installing signed collections by using the fqcn, version, source, and type as a unique identifier.
Define __hash__ and __eq__ methods to handle Candidate/Requirement comparison excluding signatures which aren't fully populated until install time.
* Remove PinnedCandidateRequests since it is redundant now.
* Fix verifying against a signed remote when the keyring isn't configured
(cherry picked from commit d5e2e7a0a8ca9017a091922648430374539f878b)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* password lookup, handle ident properly when saved (#80251)
* password lookup, handle ident properly when saved
Currently we format and save ident when present but we didn't account for this when reading the saved file
Also added some more robust error handling.
(cherry picked from commit 0fd88717c953b92ed8a50495d55e630eb5d59166)
* fix try indent
* clog
* fix bad merge indentation
|
|
|
|
|
|
|
| |
* Ansible.Basic - Improve temporary file cleanup process
* Add comment on struct value used
(cherry picked from commit ba4505f5cb2fb52cda450a06679ddea3599e3e70)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve Ansible.Basic.cs tempdir uniqueness
The current tempdir naming scheme can result in the same name if the
remote worker starts at the same time as another. By using the process
id it should add enough uniqueness to avoid this situation.
* Fix sanity issues
* Fix up compile issue on older hosts
(cherry picked from commit fb6b90fe4255e9995706905e2a9cde205648c0d2)
|
|
|
|
|
|
|
|
|
|
| |
(#80399)
Reduce the number of Galaxy API calls made during dependency resolution by fetching remote signatures afterwards, since these are not used in backtracking.
Reduce the verbosity to `-vvvv` (to match other Galaxy API calls) to see this activity.
Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
(cherry picked from commit 460abe0ceffc5ca99b3cc2f2e3ef07aa2cb225dc)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#80275)
* clog frag
* Fix retries so that each explicit call to _call_galaxy is retried for the correct number of attempts. Fixes #80174
* Extend retry logic to common URL related connection errors. Fixes #80170
* Extend retries to downloading artifacts
* Extend param docs for change
* Rework the exception handling
* Don't be overly broad, reduce to TimeoutError, and BadStatusLine for now
* _download_file needs to raise AnsibleError.orig_exc
* Remove unused import
* Add IncompleteRead
* Add socket.timeout for py39
* Add 502 to retry codes
* Move http error code checking first
* Use itertools.tee to replay the backoff_iterator instead of using a callable
* Actually set a CLI default of 60s for timeout, to prevent implicit galaxy from using 10s as default from Request.open
* Import typing
* fix type hints
* Use http.HTTPStatus instead of int HTTP error codes where feasible
* Split exception handling
* Add missing import
---------
.
(cherry picked from commit 2ae013667ef226635fe521be886efd1bf58cd46f)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ansible-doc: fix broken seealso links in text output (#80280)
* Fix broken URLs.
* Also remove auto-generated description for modules outside ansible.builtin.
(cherry picked from commit fafb23094e77a619066a92a7fa99a7045292e473)
* Fix URL processing. (#80295)
(cherry picked from commit 086ae4220957cdb66eee8aa060c151a071f3b9bd)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(#79913) (#79965)
* don't ignore templated _raw_params that k=v parser failed to parse (#79913)
fixes #79862
* backport test changes
|
|
|
| |
(cherry picked from commit 83fe75db07cb55dc2efeb437ce20b9d4462860c3)
|
|
|
|
|
|
|
|
|
| |
* Fix file touch check mode result (#79360) (#79422)
Fixes #79360
(cherry picked from commit 3936b5c471068d86c3e51a454a1de2f0d2942845)
* Rename changelog fragment according to PR number
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* file lookup now works with general lookup error framework
(cherry picked from commit 3448fcabc539fb2d3351c20a5b82c3558d037c75)
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
|
|
|
| |
(cherry picked from commit 2a03c8028eed986cd84b9165f47afcf39d4835e0)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
previously it would have a 2nd tb due to bad error raising
also remove superfluous warning
(cherry picked from commit aaab0791d9507b64ea04903bf35500c87ebb33b4)
|
|
|
|
|
|
|
|
| |
as chmod/mode is not the only thing we attempt and Ubuntu not shipping acl
in newer versions can lead to some confusion
fixes #79146
(cherry picked from commit 0f18ddca9f4b04cacd85a8a54a6fcc8f8b2ee38e)
|
|
|
|
|
|
|
|
|
|
| |
(#79133)
* Don't assume column index for netmask and broadcast. Fixes #79117
* fix typo
(cherry picked from commit f53dbf9)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#79051)
* Use python re to parse service output instead of grep. Fixes #78541
* Add clog frag
* Add an extra guard to abort if rc is 4, and /etc/init.d is missing
(cherry picked from commit 4458128)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ansible-galaxy install - fix unnecessary api check when installing a role from git repo (#79090)
* delay server api evaluation until a GalaxyRole needs to make an api call for info, list, and install
(cherry picked from commit cb2e434dd2359a9fe1c00e75431f4abeff7381e8)
* fix type for older python
* Fix isinstance check (#79159)
Use GalaxyAPI for isinstance check instead of RoleDistributionServer, since the latter is defined in __main__ sometimes (when running integration tests or ansible-galaxy from source) and importing from ansible.cli.galaxy won't reference the same object.
(cherry picked from commit 89d682464b65af6d2f77a148fc6abb2c38b0e994)
|
|
|
|
|
|
| |
* copy, avoid moving non temp remote files that are not dirs/files
fix tests
(cherry picked from commit f66016df0e22e1234417dc3538bea75299b4e9eb)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix password lookup's use of f=v settings (#76551)
update tests
(cherry picked from commit 5d253a13807e884b7ce0b6b57a963a45e2f0322c)
* fix password unit tests (#79113)
(cherry picked from commit c4d6629bce3cbcaff56685315b98b98027fdd3a4)
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* apt module, prevent tb from invalid type for pkg
see #78663
(cherry picked from commit 7acd4f75c037974be7fa4e7eabe55152dfc57500)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#78826) (#78837)
* [stable-2.13] Add ssh_args and friends back, add var for proxy_command (#78826)
Fixes #78750
(cherry picked from commit 1b47def)
Co-authored-by: Matt Martz <matt@sivel.net>
* Remove non-backportable changes
(cherry picked from commit ba2938a388c065da7897aceb2d0890a656957cd3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#78791)
* apt - fix failure when package is not installed and only_upgrade=True (#78781)
* apt - fix module failure when package is not installed and only_upgrade is True
* changelog
(cherry picked from commit 4b45b4b09d9257006f7b23237293c8c1a04521d8)
* apt - fix module short-circuiting when a package is not installed and only_upgrade is True
(cherry picked from commit 14f46845f9e74aac26aa54004c88a414926afc6a)
|
|
|
|
|
|
|
|
|
|
| |
(#78722)
* Limit Galaxy API calls during ansible-galaxy collection dependency resolution when possible
Installing a tarfile with a dependency from a Galaxy server (e.g. dependencies: {'ns.coll': '>=1.0.0'}) does not get the available versions of the dependency from the galaxy server if a sufficient version is already installed.
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit 41b62f7db459b7c3a1d97302da3b9f2cbf302670)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#78598 (#78878)
* Fix known_hosts changed status when removing non-existing key (#78748)
* Ensure no change is reported when removing missing key for host with other keys
Co-authored-by: Matt Martz <matt@sivel.net>
* Add changelog for fix known hosts wrong changed status cherry pick
* Remove old changelog for fix known hosts wrong changed status
* Rename changelog according to PR number
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
| |
create specific function to find config entry to avoid repopulating constantly
(cherry picked from commit 4115ddd135a0445092c9f9a7b5904942ceedd57c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add galaxy docs back to core' (#78764)
(cherry picked from commit df6a564abd9a63e1bff0ad14f9b800ceccc2da31)
* Ansible 6.4.0: Porting Guide (#78775)
(cherry picked from commit d4407ca68822b1f12254957ec9918f94c23d374f)
* Documented connection parameters required to enable scp (OpenSSH >=9.0) (#78745)
(cherry picked from commit 952ee88f33de4d49ff5f7bd4bec3431a4b0fdc78)
* Fix Issue #78564 (#78741)
(cherry picked from commit f50ff1c2dbb2eee88b2ac9e50e9f13d942e41f12)
* faq legacy vs builtin (#78769)
(cherry picked from commit db33ca8e1a8b9805eb0a074eee86aaa2237065cd)
* Removed repeated introduction paragraph (#78691)
(cherry picked from commit e276770ee9efac3a98c3f1116d9cd9c992ca8c9e)
Co-authored-by: Ompragash Viswanathan <21008429+Ompragash@users.noreply.github.com>
Co-authored-by: wnjuguna <jbworldus@gmail.com>
Co-authored-by: Ronan <ronandoudies@gmail.com>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
|
| |
|