Commit Graph

54748 Commits (8d40979feebc5381ef6bb3d9c2f9bb18a3156edd)
 

Author SHA1 Message Date
Matt Davis 8d40979fee
Update Ansible release version to v2.18.9rc1.post0. (#85792) 5 months ago
Matt Davis 2b98c02319
New release v2.18.9rc1 (#85790) 5 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>
5 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>
5 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)
5 months ago
Matt Clay c8e4195bda
[stable-2.18] CI - Add missing args to generic.sh (#85737) (#85739)
(cherry picked from commit 7b598f3fc9)
5 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)
5 months ago
Matt Martz 6e64050d0e
Update Ansible release version to v2.18.8.post0. (#85645) 5 months ago
Matt Martz 8eb098b970
New release v2.18.8 (#85643) 5 months ago
Matt Martz 3b4cd39f1b
Update Ansible release version to v2.18.8rc1.post0. (#85620) 6 months ago
Matt Martz e38807be5b
New release v2.18.8rc1 (#85619) 6 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)
6 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)
6 months ago
Matt Clay 4a0d2b0666
[stable-2.18] ansible-test - Limit bootstrap package install retries (#85544) (#85547)
(cherry picked from commit ee297bb7ca)
6 months ago
Matt Clay 847a6ca3f9
[stable-2.18] ansible-test - Fix coverage config (#85555) (#85560)
(cherry picked from commit 35830cb054)
6 months ago
Matt Clay ba4be21a69
[stable-2.18] Update azure-pipelines-test-container (#85578) (#85580)
(cherry picked from commit 62dc40ce1c)
6 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)
6 months ago
Matt Davis bd3dc8a155
Update Ansible release version to v2.18.7.post0. (#85485) 6 months ago
Matt Davis a7e2898705
New release v2.18.7 (#85483) 6 months ago
Matt Davis f00c796b77
Update Ansible release version to v2.18.7rc1.post0. (#85458) 7 months ago
Matt Davis 127cc357a4
New release v2.18.7rc1 (#85454) 7 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>
7 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>
7 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>
7 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>
7 months ago
Matt Clay 7d3ae41ad9
[stable-2.18] ansible-test - Fix relative import resolution (#85328) (#85445)
(cherry picked from commit 093ac8df2d)
7 months ago
Matt Clay 9b83ff7b3f
Drop incidental network tests from CI (#85425) (#85429)
(cherry picked from commit 35252fd96c)
7 months ago
Martin Krizek b860077eff
[stable-2.18] Use f40 official repo for libdnf5 (#85374) 7 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>
7 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)
8 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>
8 months ago
Martin Krizek 82655e4565
[stable-2.18] dnf5 - handle all specific libdnf5 exceptions (#85175) (#85228)
Fixes #84634
(cherry picked from commit 99a3346de6)
8 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)
8 months ago
Matt Davis 8fd554d4fd
Update Ansible release version to v2.18.6.post0. (#85179) 8 months ago
Matt Davis 4c144e66e2
New release v2.18.6 (#85177) 8 months ago
Matt Clay b8467777eb
Update Ansible release version to v2.18.6rc1.post0. (#85146) 8 months ago
Matt Davis 026bb3b22e
New release v2.18.6rc1 (#85144) 8 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)
8 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)
8 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)
8 months ago
Brian Coca 5736fed8a7
These actions do not support until (#84847) (#85044)
(cherry picked from commit 8ab342f8cc)
8 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
8 months ago
Martin Krizek c45c3b4f49
[stable-2.18] dnf5: avoid generating excessive history entries (#85065) (#85067)
Fixes #85046
(cherry picked from commit cff49a62ec)
9 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>
9 months ago
Sloane Hertel 1782c7cf6d
Fix old_style_cache_plugins test failure using latest redis (#85090)
Pin last working version instead
9 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.
9 months ago
Matt Clay 9b89ff86a4
[stable-2.18] ansible-test - Use `-t` for container stop timeout (#85019) (#85056)
(cherry picked from commit 0aa8afbaf4)
9 months ago
Matt Martz 77f39ffa58
Update Ansible release version to v2.18.5.post0. (#85027) 9 months ago
Matt Martz a3c86e6ac8
New release v2.18.5 (#85025) 9 months ago
Matt Martz 061a9ce68d
Update Ansible release version to v2.18.5rc1.post0. (#84987) 9 months ago