Commit Graph

54535 Commits (acb45791f56b56ccf152b886ee468834a1f5fa83)
 

Author SHA1 Message Date
Matt Clay acb45791f5
Remove scheduled runs (#86200)
Scheduled runs are no longer needed now that ansible-core 2.17 is EOL.
3 weeks ago
Matt Clay 03fd352037
[stable-2.17] Remove timezone support module and tests (#83465) (#85932)
The timezone support module was used only for changing the timezone in the user module integration tests.

Changing the timezone for the tests is unecessarily complex for the purpose of asserting proper parsing of user expiration times.

(cherry picked from commit 44f22162cb)
2 months ago
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) 3e36cc3967
[stable-2.17] 🧪 Pin codecov-cli deptree used in AZP (#85905)
* Use codecov-cli for uploads (#85386)

ci_coverage
ci_complete

(cherry picked from commit 4a03ccbd41)

* 🧪 Pin codecov-cli deptree used in AZP

PR #85888

`codecov-cli == 11.0.3` allows `click == 8.3.0` in its deps but the latter causes commit auto-discovery breakage in the former. With https://github.com/getsentry/prevent-cli/pull/95, `codecov-cli == 11.2.3` excludes this version so this patch updates the requirement to that.

To prevent this from happening again, the change also makes use of a pip constraint file that pins the entire dependency tree to concrete versions. The constraint file is managed by `pip-tools`.

Refs:
* https://github.com/getsentry/prevent-cli/pull/95
* https://github.com/pallets/click/issues/3066

ci_coverage
ci_complete

(cherry picked from commit 1e572ba5cc)

---------

Co-authored-by: Matt Clay <matt@mystile.com>
2 months ago
sivel / Matt Martz ca635fac4a
[stable-2.17] Prevent IO capture hang/loss in `basic.run_command` (#85869) (#85893)
* Prevent run_command output truncation or hang

In cases when the selector used to monitor stdout/stderr activates without
data ready to read (a rare but normal condition), a read from a non-blocking
FD can return `None`, which was being conflated with an empty read (EOF)
condition. This caused the selector to be unregistered prematurely,
sometimes resulting in truncated output or hangs. `None` read results
are now excluded from EOF conditions.

* add changelog

---------
(cherry picked from commit 79ddee1)

Co-authored-by: Chris Meyers <chrismeyersfsu@users.noreply.github.com>
Co-authored-by: Matt Davis <nitzmahone@redhat.com>
2 months ago
Matt Davis b7cb65d5f7
Update Ansible release version to v2.17.14.post0. (#85828) 3 months ago
Matt Clay 4c3b90a420
New release v2.17.14 (#85825) 3 months ago
Matt Clay 5249d5e216
Update Ansible release version to v2.17.14rc1.post0. (#85793) 3 months ago
Matt Clay 42d34f0960
New release v2.17.14rc1 (#85789) 3 months ago
Matt Clay 1efe8d0c4b
ansible-test - Update Ansible Core CI auth (#85717) (#85770)
Implement new authentication methods for accessing the Ansible Core CI service.

(cherry picked from commit be9e57366b)
3 months ago
Matt Clay 4e833fc281
[stable-2.17] CI - Add missing args to generic.sh (#85737) (#85740)
(cherry picked from commit 7b598f3fc9)
3 months ago
Matt Clay cfa2570693
[stable-2.17] ansible-test - Limit bootstrap package install retries (#85544) (#85548)
(cherry picked from commit ee297bb7ca)
4 months ago
Matt Clay 97b18282c7
[stable-2.17] Update azure-pipelines-test-container (#85578) (#85581)
(cherry picked from commit 62dc40ce1c)
4 months ago
Matt Clay 5ad66656c3
Replace FreeBSD 13.3 with FreeBSD 13.5 (#85534)
* 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 e1d5bb0bca
Update Ansible release version to v2.17.13.post0. (#85484) 5 months ago
Matt Davis a4c2de270b
New release v2.17.13 (#85482) 5 months ago
Matt Davis 5208304ee6
Update Ansible release version to v2.17.13rc1.post0. (#85457) 5 months ago
Matt Davis c4cac8e18f
New release v2.17.13rc1 (#85455) 5 months ago
Brian Coca c3d8d790e7
ansible-doc display docs for modules w/o ext (#85299) (#85316)
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
Matt Clay 6c0d8250c9
[stable-2.17] ansible-test - Fix relative import resolution (#85328) (#85446)
(cherry picked from commit 093ac8df2d)
5 months ago
Matt Clay 64fb6e3fd9
Drop incidental network tests from CI (#85425) (#85430)
(cherry picked from commit 35252fd96c)
5 months ago
Martin Krizek 5c82305be9
[stable-2.17] Use f39 official repo for libdnf5 (#85286)
The nightly repo is no longer available.
6 months ago
Matt Clay 7543d309b0
[stable-2.17] ansible-test - Add RHEL 10.0 remote (#85189) (#85267)
* ansible-test - Add RHEL 10.0 remote (#85189)

* 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)

* Remove unsupported sub_key tests

* Add RHEL 10 support to dnf test
6 months ago
Martin Krizek f0beb39639
[stable-2.17] dnf5 tests: do not remove attr (#85218) (#85271)
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 Clay 80e8a5d111
[stable-2.17] User: Update prompt for SSH key passphrase prompt (#84521) (#85235)
* 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
Matt Davis 50ab31f45d
Update Ansible release version to v2.17.12.post0. (#85180) 7 months ago
Matt Davis c44757e44a
New release v2.17.12 (#85178) 7 months ago
Matt Clay 57c59972f7
Update Ansible release version to v2.17.12rc1.post0. (#85145) 7 months ago
Matt Clay 199a564dad
New release v2.17.12rc1 (#85143) 7 months ago
Matt Clay 1bdf97815a
[stable-2.17] release.py - Remove email announcement support (#85060) (#85140)
Also add missing git and run overloads.

(cherry picked from commit 93aa611435)
7 months ago
Matt Davis 58e7d475dc
add fuzzy matching to package_data sanity (#85103) (#85135)
* 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 a2225f78f8
ansible-doc: fix indent and line wrapping for first line of (sub-)option and (sub-)return value descriptions (#84690) (#84994)
* 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 342aeeb081
These actions do not support until (#84847) (#85045)
(cherry picked from commit 8ab342f8cc)
7 months ago
Brian Coca 19d35721c3
ensure predictable permissions on module artifacts (#84948) (#85073)
* ensure predictable permissions on module artifacts (#84948)

and test it!

(cherry picked from commit 9f894b81c2)

* missing aliases
7 months ago
Jordan Borean bc955df46c
[stable-2.18] - script fix become on Windows (#85077) (#85078)
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.

(cherry picked from commit 59e2ddcae0)
7 months ago
Sloane Hertel 1cad5dc47a
Fix old_style_cache_plugins test failure using latest redis (#85091)
Pin last working version instead
7 months ago
Matt Clay 7c6147ed78
[stable-2.17] ansible-test - Use `-t` for container stop timeout (#85019) (#85057)
(cherry picked from commit 0aa8afbaf4)
7 months ago
Matt Martz 44e5ef71fe
Update Ansible release version to v2.17.11.post0. (#85029) 8 months ago
Matt Martz 5b29d916d9
New release v2.17.11 (#85024) 8 months ago
Matt Clay 3546111f2d
[stable-2.17] ansible-test - Replace FreeBSD 14.0 with 14.1 (#85028)
(cherry picked from commit a121a169e3)
8 months ago
Matt Martz ad1f141fe2
Update Ansible release version to v2.17.11rc1.post0. (#84986) 8 months ago
Matt Martz fea2ca5817
New release v2.17.11rc1 (#84981) 8 months ago
Brian Coca 8fc86acc87
Fix uninstall tests (#84973) (#84975)
match file name to package_manager detection of dnf5

(cherry picked from commit 6fc592df9b)
8 months ago
Matt Martz 1b01f1af94
Revert "[stable-2.17] basic: remember the user sensitive information to use later (#84699) (#84940)" (#84961)
This reverts commit 8bc0cab838.
8 months ago
Abhijeet Kasurde 8bc0cab838
[stable-2.17] basic: remember the user sensitive information to use later (#84699) (#84940)
* 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 bbe1875add
Fix markup for config variable reference. (#84901) (#84902)
(cherry picked from commit b9e35d66c4)
8 months ago
Brian Coca c7db2cacac
Fix wait_for examples (#84870) (#84876)
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 73189a7a8d
needed intesect, not difference (#84839) (#84860)
fixes #84750

Added tests to verify output when using smart + others

(cherry picked from commit 0d4f00f5c8)
8 months ago
Brian Coca 0c6bad800e
Changed human_to_bytes input to a string (#84336) (#84858)
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
Matt Clay 6f5fbf785c
[stable-2.17] Pin `wheel` to resolve build issues (#84943) (#84945)
(cherry picked from commit 8b0c4825ae)
8 months ago
Matt Martz 21a5869b91
Update Ansible release version to v2.17.10.post0. (#84894) 8 months ago