Commit Graph

54738 Commits (e38807be5bb5f9c81e2211adf3e9defe6ff6aed1)
 

Author SHA1 Message Date
Matt Martz e38807be5b
New release v2.18.8rc1 (#85619) 4 months ago
Brian Coca 4f4afb8a84
meta: clear_host_errors, clarify what this applies to (#85463) (#85464)
* meta: clear_host_errors, clarify what this applies to

It clears host for selection, but does not change state in the current iterator.

* also update example

(cherry picked from commit 319dca2ea8)
4 months ago
Brian Coca 784598005e
plugin config options are now correctly fetched with origin (#85488) (#85526)
* also update callbcacks, since they override these functions
due to backwards compat _options being taken for CLI

(cherry picked from commit 19f9c66004)
4 months ago
Matt Clay 4a0d2b0666
[stable-2.18] ansible-test - Limit bootstrap package install retries (#85544) (#85547)
(cherry picked from commit ee297bb7ca)
4 months ago
Matt Clay 847a6ca3f9
[stable-2.18] ansible-test - Fix coverage config (#85555) (#85560)
(cherry picked from commit 35830cb054)
4 months ago
Matt Clay ba4be21a69
[stable-2.18] Update azure-pipelines-test-container (#85578) (#85580)
(cherry picked from commit 62dc40ce1c)
4 months ago
Matt Clay bf53d4f7c9
[stable-2.18] Replace FreeBSD 13.3 with FreeBSD 13.5 (#85532)
* ansible-test - Replace FreeBSD 13.3 with 13.4 (#84236)

* ansible-test - Replace FreeBSD 13.3 with 13.4
* ansible-test - Fix typos in bootstrap.sh
* Skip libfaketime on FreeBSD except FreeBSD 14

(cherry picked from commit a98801903d)

* ansible-test - Replace FreeBSD 13.4 with 13.5 (#84812)

(cherry picked from commit 4efb01c2f3)

* ansible-test - Use OS packages on FreeBSD 13.5 (#85530)

(cherry picked from commit cdb7af094b)
4 months ago
Matt Davis bd3dc8a155
Update Ansible release version to v2.18.7.post0. (#85485) 5 months ago
Matt Davis a7e2898705
New release v2.18.7 (#85483) 5 months ago
Matt Davis f00c796b77
Update Ansible release version to v2.18.7rc1.post0. (#85458) 5 months ago
Matt Davis 127cc357a4
New release v2.18.7rc1 (#85454) 5 months ago
Brian Coca 5aa2c6326b
ansible-doc display docs for modules w/o ext (#85299) (#85315)
Fixed case in which listing modules for docs failed to get sidecar


(cherry picked from commit 7e495f4b20)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
5 months ago
Sloane Hertel 0fbbafb581
password lookup - re-attempt acquiring lock file regardless of locale (#85318) (#85349)
* Fix handling FileExistsError, instead of only handling OSError when the human-readable error message is "File exists".


(cherry picked from commit 8e9f5fb9d5)

Co-authored-by: Matt Clay <matt@mystile.com>
5 months ago
Abhijeet Kasurde 21f9b1a3a4
[stable-2.18] meta: Avoid traceback when retrieving the meta task name (#85371)
Fixes: #85367

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
5 months ago
Abhijeet Kasurde f7a38d1df0
[stable-2.18] json filter: update docs (#84989) (#85443)
(cherry picked from commit 34f2f39)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
5 months ago
Matt Clay 7d3ae41ad9
[stable-2.18] ansible-test - Fix relative import resolution (#85328) (#85445)
(cherry picked from commit 093ac8df2d)
5 months ago
Matt Clay 9b83ff7b3f
Drop incidental network tests from CI (#85425) (#85429)
(cherry picked from commit 35252fd96c)
5 months ago
Martin Krizek b860077eff
[stable-2.18] Use f40 official repo for libdnf5 (#85374) 5 months ago
Brian Coca 21a07d1428
[backport 2.18] ansible-pull fix adhoc output inconsistencies on changed (#84869) (#84964)
* ansible-pull fix adhoc output inconsistencies on changed (#84869)

Two fixes for single bug:
  - ignore callback changes for adhoc
  - allow 'yaml' change matching
---------

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 4bc4030988)

* missing test play

* tests for other non backed change

---------

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Matt Clay 18e63aa7ed
ansible-test - Add RHEL 10.0 remote (#85189) (#85195)
* ansible-test - Add RHEL 10.0 remote

* Update tests for RHEL 10
* Fix iptables test
* Rework rpm_key integration test

(cherry picked from commit 53b0f1645b)
6 months ago
Matt Clay 33c4f5b93e
[stable-2.18] User: Update prompt for SSH key passphrase prompt (#84521) (#85234)
* update prompt for SSH key passphrase prompt
* introduce timeout in SSH key passphrase interaction

Fixes: #84484

(cherry picked from commit 8588401387)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Martin Krizek 82655e4565
[stable-2.18] dnf5 - handle all specific libdnf5 exceptions (#85175) (#85228)
Fixes #84634
(cherry picked from commit 99a3346de6)
6 months ago
Martin Krizek e210650d43
[stable-2.18] dnf5 tests: do not remove attr (#85218) (#85220)
On RHEL 10, the attr package is in the dependency tree of dnf itself
and cannot be removed.
(cherry picked from commit a0132fec0b)
6 months ago
Matt Davis 8fd554d4fd
Update Ansible release version to v2.18.6.post0. (#85179) 7 months ago
Matt Davis 4c144e66e2
New release v2.18.6 (#85177) 7 months ago
Matt Clay b8467777eb
Update Ansible release version to v2.18.6rc1.post0. (#85146) 7 months ago
Matt Davis 026bb3b22e
New release v2.18.6rc1 (#85144) 7 months ago
Matt Clay fd47c68c2d
[stable-2.18] release.py - Remove email announcement support (#85060) (#85139)
Also add missing git and run overloads.

(cherry picked from commit 93aa611435)
7 months ago
Matt Davis cddcdb7f75
add fuzzy matching to package_data sanity (#85103) (#85136)
* add fuzzy matching to package_data sanity

* relaxes exact directory matches for license files to allow setuptools > 72 to pass

* sanity

(cherry picked from commit 7e00053a30)
7 months ago
Felix Fontein 14aed207f9
ansible-doc: fix indent and line wrapping for first line of (sub-)option and (sub-)return value descriptions (#84690) (#84993)
* Fix initial indent for descriptions of suboptions.
* Fix line width for initial line of option descriptions.

(cherry picked from commit 352d8ec33a)
7 months ago
Brian Coca 5736fed8a7
These actions do not support until (#84847) (#85044)
(cherry picked from commit 8ab342f8cc)
7 months ago
Brian Coca 32979f4a43
ensure predictable permissions on module artifacts (#84948) (#85072)
* ensure predictable permissions on module artifacts (#84948)

and test it!

(cherry picked from commit 9f894b81c2)

* added missing liases
7 months ago
Martin Krizek c45c3b4f49
[stable-2.18] dnf5: avoid generating excessive history entries (#85065) (#85067)
Fixes #85046
(cherry picked from commit cff49a62ec)
7 months ago
Matt Clay b8749ad382
[stable-2.18] dnf5: skip pkgs that don't satisfy bugfix/security when specified (#85111) (#85113)
(cherry picked from commit 107842fd7d)

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
7 months ago
Sloane Hertel 1782c7cf6d
Fix old_style_cache_plugins test failure using latest redis (#85090)
Pin last working version instead
7 months ago
Jordan Borean 59e2ddcae0
[stable-2.18] - script fix become on Windows (#85077)
Fixes become when using script on Windows and the become options were
set through host vars or sources that was not set on the task directives
itself.
7 months ago
Matt Clay 9b89ff86a4
[stable-2.18] ansible-test - Use `-t` for container stop timeout (#85019) (#85056)
(cherry picked from commit 0aa8afbaf4)
7 months ago
Matt Martz 77f39ffa58
Update Ansible release version to v2.18.5.post0. (#85027) 8 months ago
Matt Martz a3c86e6ac8
New release v2.18.5 (#85025) 8 months ago
Matt Martz 061a9ce68d
Update Ansible release version to v2.18.5rc1.post0. (#84987) 8 months ago
Matt Martz 1307837b08
New release v2.18.5rc1 (#84980) 8 months ago
Brian Coca aa43321d12
Fix uninstall tests (#84973) (#84974)
match file name to package_manager detection of dnf5

(cherry picked from commit 6fc592df9b)
8 months ago
Matt Martz 46b5f36cf7
Revert "[stable-2.18] basic: remember the user sensitive information to use later (#84699) (#84939)" (#84960)
This reverts commit 795970751e.
8 months ago
Abhijeet Kasurde 795970751e
[stable-2.18] basic: remember the user sensitive information to use later (#84699) (#84939)
* Git allows embedding username and password in repo URL for
  https authentication. This may lead to exposing the user sensitive
  information to logs and unautheticated users.
  Adding no_log will partially solve this.
* Added documentation warning user about URL embedded with username
  and password.
* Added logic to remember user sensitive information for later sanitization

Fixes: #84557
(cherry picked from commit 19e9f3d)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
8 months ago
Felix Fontein 9258cb7eaf
Fix markup for config variable reference. (#84901) (#84903)
(cherry picked from commit b9e35d66c4)
8 months ago
Abhijeet Kasurde 27d6a409dc
[bp-2.18] find: skip ENOENT while enumerating files (#84886)
* skip 'no such file or directory' error code while files and
  directories and report them.

Fixes: #84873

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
(cherry picked from commit 5280850130)
8 months ago
Brian Coca 8c03e3a74a
Fix wait_for examples (#84870) (#84875)
connection: local is wrong as configured remote python does not always match controller
missing the timeout to wait 300s before error

(cherry picked from commit 3690819ee8)
8 months ago
Brian Coca bd6594e321
needed intesect, not difference (#84839) (#84859)
fixes #84750

Added tests to verify output when using smart + others

(cherry picked from commit 0d4f00f5c8)
8 months ago
Brian Coca 1dceddb156
Changed human_to_bytes input to a string (#84336) (#84857)
For it to be a human readable description it can't be an int.

(cherry picked from commit df0fe81383)

Co-authored-by: Sammy Hori <git@sammyhori.com>
8 months ago
Sloane Hertel 9f9991eb10
uri: form location correctly from relative redirect (#84541) (#84854)
* uri: form location correctly from relative redirect

Previously, the original URL would be combined with the relative location incorrectly, especially for URL of any complexity.

Add simple tests demonstrating the problem that fail without the fix

* fix pylint error, import the method similar to other uri methods

* add changelog fragment

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
(cherry picked from commit 61a6222e0e)

Co-authored-by: Robert Muir <rmuir@apache.org>
8 months ago