summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New release v2.13.9 (#80610)v2.13.9Matt Martz2023-04-244-4/+18
|
* Update Ansible release version to v2.13.9rc1.post0. (#80538)Matt Martz2023-04-171-1/+1
|
* New release v2.13.9rc1 (#80535)v2.13.9rc1Matt Martz2023-04-174-1/+125
|
* password lookup, handle ident properly when saved (#80251) (#80312)Brian Coca2023-04-174-48/+104
| | | | | | | | | | | | | | | | * 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 (#80293) (#80325)Jordan Borean2023-04-143-6/+433
| | | | | | | * Ansible.Basic - Improve temporary file cleanup process * Add comment on struct value used (cherry picked from commit ba4505f5cb2fb52cda450a06679ddea3599e3e70)
* Improve Ansible.Basic.cs tempdir uniqueness (#80328) (#80330)Jordan Borean2023-04-142-1/+4
| | | | | | | | | | | | | * 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)
* Fetch signatures from galaxy after the dependency resolver runs (#80334) ↵Sloane Hertel2023-04-146-5/+19
| | | | | | | | | | (#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)
* [stable-2.13] ansible-galaxy collection install retry improvements (#80180) ↵Matt Martz2023-04-124-26/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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)
* [stable-2.13] pep517 backend - Use correct import_module import (#80480) ↵Matt Clay2023-04-122-1/+3
| | | | | (#80503) (cherry picked from commit e87802cf2c75c5f2578e58ed2edb3e033623cc78)
* [stable-2.13] ansible-test - Add support for argcomplete 3 (#80482) (#80486)Matt Clay2023-04-113-5/+25
| | | (cherry picked from commit 0371ea08d6de55635ffcbf94da5ddec0cd809495)
* [stable-2.13] ansible-test - Fix packaging change classification (#80360). ↵Matt Clay2023-03-293-5/+15
| | | | | (#80362) (cherry picked from commit 5d64024f1ab1283750f2211692970dfa1b351ed5)
* Fix `entry_points` integration test for PEP 517 (#80357)Sviatoslav Sydorenko2023-03-291-1/+10
| | | | | | This patch pre-builds the sdist via build using the self-eliminating in-tree build backend and then, feeds the result to a pottentially outdated pip (below v20) so that it uses the setuptools' native PEP 517 build backend to build a wheel on install.
* [backport-2.13] 📦 Integrate manpage builds into PEP 517 build backend ↵Sviatoslav Sydorenko2023-03-289-1/+673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#80130) This change includes backports of the PRs #79606, #80098, #80253, #80255 and #80262, with a number of backward compatibility changes that make it work and be testable in older CI environments. This patch creates a thin wrapper around the `setuptools`' PEP 517 build backend in-tree. It features an ability to request generating the manpage files in-memory, in the process of building a source distribution. The build is happening in an isolated temporary directory. This toggle is implemented using the `config_settings` mechanism of PEP 517. One must explicitly pass it a CLI option to the build front-end to trigger said behavior. The packagers are expected to use the following call: python -m build --config-setting=--build-manpages This option has no effect on building wheels. 🧪 The change includes integration tests This test runs building and re-building sdists and wheels with and without the `--build-manpages` config setting under the oldest-supported and new `setuptools` pinned. It is intended to preserve the interoperability of the packaging setup across Python runtimes. An extra smoke test also verifies that non PEP 517 interfaces remain functional. 📦 The sdist build-system is switched to pure setuptools upon the first build from Git checkout This patch modifies the in-tree build backend to build sdists that swap out pointers to it in the `pyproject.toml`'s `[build-system]` section. The effect of this is that the first build from source (for example, from a Git checkout) uses our PEP 517 in-tree build backend. But the produced tarball has `build-backend` set to `setuptools.build_meta` which is the native build backend of `setuptools`. So any following builds from that sdist will skip using the in-tree build backend, calling the setuptools' one. The good news is that if the first build generated the manpages, they will be included and won't go anywhere even though, a different build system is in place. Combined with #80253, this makes sure not to modify the current source checkout on that first build. Co-Authored-By: Matt Clay <matt@mystile.com> Co-Authored-By: Matt Davis <6775756+nitzmahone@users.noreply.github.com> (cherry picked from commit 56036013cd09db0f1b20402a69be44345ddafb22) (cherry picked from commit 67bafafbc0d61751d2ec10b0aeccb6b01482a074) (cherry picked from commit 888abf5d6e13880ba82d02c5f8a57ca1f90a992f) (cherry picked from commit 7097df3eed979446830fc579613ffb9b7e7c19bf) (cherry picked from commit eebfd71a6da396b011e664604c9991543205d780)
* [2.13] ansible-doc: fix broken seealso links in text output (#80286)Felix Fontein2023-03-287-6/+85
| | | | | | | | | | | | | * 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)
* [stable-2.13] New upstream release tool (#80179) (#80322)Matt Clay2023-03-271-0/+1420
| | | (cherry picked from commit a6bfa82bd061d1d66e7d67064f2e78774a103b54)
* [stable-2.13] Use variable instead of container resource in AZP (#80299) ↵Matt Clay2023-03-273-7/+4
| | | | | (#80317) (cherry picked from commit 93d0253292dc2e66432d96f047b66200a2d2e35b)
* [stable-2.13] Fix url lookup test to use test container (#80284) (#80288)Matt Clay2023-03-231-2/+2
| | | (cherry picked from commit 054aa9215857f376ee4d387339e6b82bcc14b437)
* [stable-2.13] ansible-test - Update git diff handling (#80202)Matt Clay2023-03-1514-188/+198
| | | | | | | | This change allows ansible-test to work with newer versions of git on AZP. (cherry picked from commit bad8843124a50493141a3e3d7920353239021389) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] Relocate the AZP entry point scripts (#80114)Matt Clay2023-03-1430-44/+41
| | | | | | | Scripts previously under `test/utils/shippable/` are now under `.azure-pipelines/commands/` instead.. (cherry picked from commit f47bc03599eedc48753d2cd5e1bea177f35e6133) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Remove pointless comparison (#80168)Matt Clay2023-03-142-1/+3
| | | | | | (cherry picked from commit 31658031ed40f3db002b690b436b793634c2b5e7) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Fix vendoring support (#80074)Matt Clay2023-03-146-0/+70
| | | | | | | | - Support loading of vendored Python packages. - Exclude vendored Python packages from payloads. (cherry picked from commit 6bfe6b899a4881ebc065834a43a26e123d7fdab3) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Show Python version before install (#80022)Matt Clay2023-03-142-0/+18
| | | | | | | Always indicate the Python version being used before installing requirements. (cherry picked from commit 5e3db6e44169aa88cd027f469eea96f1f17fea95) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Allow target prefixes to use `_` (#80021)Matt Clay2023-03-146-7/+21
| | | | | | | Integration test target prefixes defined in a `tests/integration/target-prefixes.{group}` file can now contain an underscore (`_`) character. (cherry picked from commit e6cffce0eb58ba54c097f4ce7111bb97e6805051) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Fix file permissions for delegation (#80204)Matt Clay2023-03-149-17/+115
| | | | | | | | | | | | | | | | | | | | | | * [stable-2.13] ansible-test - Fix file permissions for delegation (#79932) * ansible-test - Fix file permissions for delegation * Set more restrictive permissions for SSH key * Check all execute bits, not just owner * Add a breaking_changes changelog entry. (cherry picked from commit c8c1402ff66cf971469b7d49ada9fde894dabe0d) Co-authored-by: Matt Clay <matt@mystile.com> * ansible-test - Fix collection delegation (#79947) (cherry picked from commit 079383384790310dd6722b08ac18990e2a4d0ed9) --------- Co-authored-by: Felix Fontein <felix@fontein.de>
* [stable-2.13] ansible-test - Fix pylint error with old home dir (#80151) ↵Matt Clay2023-03-072-0/+13
| | | | | | | | | | | | (#80153) * [stable-2.13] ansible-test - Fix pylint error with old home dir (#80151) (cherry picked from commit 27287b40c0605e583145538ac072260095c139d7) Co-authored-by: Matt Clay <matt@mystile.com> * ansible-test - Fix error with missing pylint home (#80155) (cherry picked from commit 367d45facd3af9bbc8159e4371d94e95629bed6d)
* [stable-2.13] Fix MANIFEST.in includes (#80147) (#80149)Matt Clay2023-03-063-3/+5
| | | (cherry picked from commit 7c62cdeecd4834a1ca38a01e42ea07e33044de19)
* [stable-2.13] Do not use hardcoded httpbin.org in uri tests (#80101) (#80103)Matt Martz2023-02-281-2/+2
| | | (cherry picked from commit 060a27f)
* Update Ansible release version to v2.13.8.post0. (#80099)jamesmarshall242023-02-271-1/+1
|
* New release v2.13.8 (#80082)v2.13.8jamesmarshall242023-02-274-4/+18
|
* Update Ansible release version to v2.13.8rc1.post0. (#80042)jamesmarshall242023-02-201-1/+1
|
* New release v2.13.8rc1 (#80028)v2.13.8rc1jamesmarshall242023-02-204-1/+264
|
* [2.13] don't ignore templated _raw_params that k=v parser failed to parse ↵Matt Davis2023-02-155-4/+29
| | | | | | | | | (#79913) (#79965) * don't ignore templated _raw_params that k=v parser failed to parse (#79913) fixes #79862 * backport test changes
* [stable-2.13] ansible-test - Support Podman 4.4.0+Matt Clay2023-02-142-0/+9
| | | | | | (cherry picked from commit 67d49734f732f543c0b8d7713466c0aa3b8f484f) Co-authored-by: Matt Clay <matt@mystile.com>
* Bump acme test container. (#79783) (#79815)Felix Fontein2023-02-102-1/+3
| | | (cherry picked from commit 5fb8bc3ddb40c3f09f76d2237951c7754ba27add)
* [stable-2.13] ansible-test - Specify config path in plugin error (#79881) ↵Matt Clay2023-02-102-4/+7
| | | | | (#79978) (cherry picked from commit d48d1c23df171074e799717e824a8c5ace470643)
* [stable-2.13] ansible-test - fix warning to include image name (#79560) (#79974)Matt Clay2023-02-102-1/+3
| | | | | (cherry picked from commit 0a12d8a5bc820e5d12805af41b80351d0b635e63) Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
* [stable-2.13] Ansible.Basic.cs - Fix compile error on PS 7.3.x (#79848) (#79851)Matt Clay2023-02-022-0/+6
| | | (cherry picked from commit 83fe75db07cb55dc2efeb437ce20b9d4462860c3)
* [stable-2.13] Remove outdated note on relative imports in docs (#79873) (#79876)Matt Clay2023-02-021-6/+0
| | | (cherry picked from commit 58461bc20408955a0efc37be8bce97efb387bcd5)
* Document callback types in documentation (#79651) (#79654)Felix Fontein2023-01-181-1/+20
| | | (cherry picked from commit 51bddd862bfdac9e6cefca854b6f2917cfc2715d)
* ansible-test - fix ps argspec check inside cmdlet (#79699)Jordan Borean2023-01-112-3/+13
| | | | | | | | | | * ansible-test - fix ps argspec check inside cmdlet * Added error condition test * Fix sanity problem (cherry picked from commit ee33be9484b2240aa7b6b3bfdb30b452b6048e85)
* Remove redundant RHEL extras setup.Matt Clay2023-01-041-6/+0
|
* [stable-2.13] Fix EPEL setup for integration tests on RHEL 7Matt Clay2023-01-042-9/+5
| | | | | | (cherry picked from commit 1243d2ace0aa6dc609369dafee7ad52cf9aa26ef) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Improve container startup handling.Matt Clay2022-12-153-9/+76
| | | | | | | | | | | Also improve the ansible-test-container integration test: - Add coverage for the no-probe code path. - Add work-arounds for centos6 containers (to support backporting). - Avoid systemd debug when the container doesn't use cgroup. (cherry picked from commit 04fc98c794d425a42f83a062c163c981d8751512) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] Add more retries to ansible-test-container test.Matt Clay2022-12-141-3/+8
| | | | | | (cherry picked from commit f6c0e22f98e3ad1e0a98837053ed03a27d8a1fcf) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Support RSA SHA-1 for SSH clients..Matt Clay2022-12-145-8/+76
| | | | | | (cherry picked from commit 75b60b17ee1ff18ded04cf07b71e4ee32e673a0b) Co-authored-by: Matt Clay <matt@mystile.com>
* Ansible 6 is EOL (#79555)Don Naro2022-12-131-1/+1
|
* [stable-2.13] ansible-test - Fix `--prime-containers` and `--explain` (#79581)Matt Clay2022-12-122-4/+18
| | | | | | | | | * Remove unused code. * Fix explain errors. * Fix `--prime-containers` with docker on cgroup v2. (cherry picked from commit da3b1d3f50bfbe118f2200e3e2ef109d87da4c2e) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Fix target PyPI proxy config..Matt Clay2022-12-123-12/+17
| | | | | | (cherry picked from commit dcc08eec35fde72845d121859abf1ffef1e9030f) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] Improve split integration test. (#78738)Matt Clay2022-12-122-2/+9
| | | | | | | | | | | * Omit redundant fact gathering. * Add connection type to split test. * Add user info to split integration test. (cherry picked from commit 2e5e802) Co-authored-by: Matt Clay <matt@mystile.com>
* [stable-2.13] ansible-test - Improve container management. (#79538)Matt Clay2022-12-0654-299/+3726
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ansible-test - More flexible become support. (cherry picked from commit 5666c6d6a3207f279cbb3ce0b0bd070ab5a9ecd4) * ansible-test - Add support for more remotes. (cherry picked from commit 24d91f552cad2a485f286f3c34cbba2005599ab4) * ansible-test - Enable ACLs on FreeBSD remotes. This allows integration tests to switch from one unprivileged user to another, sharing files between the users using ACLs. (cherry picked from commit b63812bc08fd00fd772c28a2604f77f487d23104) * ansible-test - Enable ACL support on more remotes. (#78299) (cherry picked from commit 8bb20fe06b458e6d7c4290dcb86cced3bce9d825) * ansible-test - Install `acl` on Alpine remotes. (#78303) (cherry picked from commit 8565deaae393a136ada071c27a8b7791d3640e41) * ansible-test - Use sudo for all remotes. (#78310) (cherry picked from commit f3f4ad93325725b91902984b419502e8b4b97188) * ansible-test - Fix Ubuntu 20.04 bootstrapping. (#78551) (cherry picked from commit d683c5bd212375c9ffc785ab65ee6e68ea913c8b) * ansible-test - Verify executables are executable. (#78606) (cherry picked from commit ece85abbc46e087187caf6e05b1515b97c578531) * ansible-test - Use --tmpfs to run containers. (#78605) (cherry picked from commit 4187707f035a5dde9d02e99e5dec40d71b06d5d1) * ansible-test - Remove Fedora 35 support. (#78720) (cherry picked from commit 38a82a5cc43ed4b48cf5fbc3addc5d2993c37eef) * ansible-test - Fix container error handling. (#78739) (cherry picked from commit 79f67ed56116be11b1c992fade04acf06d9208d1) * ansible-test - Improve container management. (#78550) See changelogs/fragments/ansible-test-container-management.yml for details. (cherry picked from commit cda16cc5e9aa8703fb4e1ac0a0be6b631d9076cc) * ansible-test - Fix container detection. (#79530) (cherry picked from commit 80d2f8da02052f64396da6b8caaf820eedbf18e2) * Update test matrix symlinks. (#78737) * Add remote platform symlinks. These were already supported by ansible-test. This change adds the symlinks for use in the CI test matrix. * Remove obsolete AIX test symlink. AIX was already removed from ansible-test. (cherry picked from commit 62221a3be214082610ba33c62e82bc3a778be7fb) * Use patched containers without VOLUME instruction. * Make test suite compatible with older ansible. * Fix compatibility with Python 3.8.