Commit Graph

54759 Commits (3092110f92651a7c04d5cef601e29def45078e11)
 

Author SHA1 Message Date
Matt Davis 3092110f92
New release v2.18.11rc1 (#86092) 1 month ago
Felix Fontein e511663447
Make sure ansible-doc doesn't crash when scanning collections whose path contains ansible_collections twice (#85361) (#85931)
Ref: https://github.com/ansible/ansible/issues/84909#issuecomment-2767335761



(cherry picked from commit c6d8d206af)

Co-authored-by: s-hertel <19572925+s-hertel@users.noreply.github.com>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
1 month ago
sivel / Matt Martz 03c0e28b91
Update Ansible release version to v2.18.10.post0. (#85951) 2 months ago
sivel / Matt Martz 08425a91cd
New release v2.18.10 (#85948) 2 months ago
Matt Davis a7789fbe5a
Update Ansible release version to v2.18.10rc1.post0. (#85924) 2 months ago
Matt Davis be4b64393a
New release v2.18.10rc1 (#85922) 2 months ago
Abhijeet Kasurde fb4e041df5
[stable-2.18] respawn: Update ENV dict copy with PYTHONPATH value (#84962) (#85912)
* Use shallow copy of os.environ to update PYTHONPATH value
  instead of using '|' operator

Fixes: #84954
(cherry picked from commit 82e4b46)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
2 months ago
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) f39525864a
[stable-2.18] 🧪 Pin codecov-cli deptree used in AZP (#85906)
* [stable-2.18] Use codecov-cli for uploads (#85386)

ci_coverage
ci_complete
(cherry picked from commit 4a03ccbd41)

Co-authored-by: Matt Clay <matt@mystile.com>

* 🧪 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 9efe4920fd
[stable-2.18] Prevent IO capture hang/loss in `basic.run_command` (#85869) (#85892)
* 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 a6464a121f
Update Ansible release version to v2.18.9.post0. (#85827) 3 months ago
Matt Clay 3d626bec28
New release v2.18.9 (#85823) 3 months ago
Matt Davis 8d40979fee
Update Ansible release version to v2.18.9rc1.post0. (#85792) 3 months ago
Matt Davis 2b98c02319
New release v2.18.9rc1 (#85790) 3 months ago
Abhijeet Kasurde 367cad21dc
[stable-2.18] user: Fix homedir permissions when UMASK is unset in /etc/login.defs (#85709)
When a user doesn't exist and user module is used to create the user and the
homedir, adduser is called which parses HOME_MODE from /etc/login.defs, and when
not set calculates the mode from UMASK from the same file.

When a user already exists without homedir, and the user module is used to add a
home dir, it incorrectly ignores HOME_MODE, resulting in a world-readable home
dir when UMASK is not set. This is for example the case in Debian trixie and
later, and likely Ubuntu 25.04 and later.

(cherry picked from commit 3030c79)

Signed-off-by: Lee Garrett <lgarrett@rocketjump.eu>
Co-authored-by: Lee Garrett <leegarrett@users.noreply.github.com>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
3 months ago
Patrick Kingston 92294ea9bb
Gracefully catch exceptions in dnf module (#85704)
* Catch ConfigError exception in dnf.py

* Catch ConfigError exception in dnf5.py

* Add changelog fragment

* Remove exception from fail_json

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>

* Remove error catching in dnf5

* Add a test to see dnf5 vs dnf output

* Add newline ending to changelog

---------

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
3 months ago
Matt Clay d922acef05
ansible-test - Update Ansible Core CI auth (#85717) (#85769)
Implement new authentication methods for accessing the Ansible Core CI service.

(cherry picked from commit be9e57366b)
3 months ago
Matt Clay c8e4195bda
[stable-2.18] CI - Add missing args to generic.sh (#85737) (#85739)
(cherry picked from commit 7b598f3fc9)
3 months ago
Abhijeet Kasurde 9a4a76e3da
[stable-2.18] service_facts: Handle KeyError while processing service name (#85648)
* rc-status commands returns unwanted lines with service names
  and their status. Skip such lines while parsing service names
* Handle KeyError with exception handling
* Warn user about the missing service name in the given service details

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

(cherry picked from commit 8290912eb1)
(cherry picked from commit 9ed7164ed6)
4 months ago
Matt Martz 6e64050d0e
Update Ansible release version to v2.18.8.post0. (#85645) 4 months ago
Matt Martz 8eb098b970
New release v2.18.8 (#85643) 4 months ago
Matt Martz 3b4cd39f1b
Update Ansible release version to v2.18.8rc1.post0. (#85620) 4 months ago
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