Abhijeet Kasurde and GitHub
2d1b4dc2d9
[stable-2.20] config: Correct config in COLLECTIONS_PATHS ( #86514 ) ( #86522 )
...
(cherry picked from commit 03776e3 )
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2026-02-11 11:47:17 -06:00
ac7d3e1756
[stable-2.20] Remove Install-Python-Debian from the output of deb822_repository ( #86403 ) ( #86405 )
...
(cherry picked from commit 28927a7 )
Fixes : #86395
Co-authored-by: Patrick Kingston <66141901+pkingstonxyz@users.noreply.github.com >
2026-01-14 13:47:53 -08:00
Abhijeet Kasurde and GitHub
d284c0ba46
[stable-2.20] Misc typo fix ( #86322 ) ( #86338 )
...
(cherry picked from commit 039b94c )
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2026-01-14 13:46:39 -08:00
Abhijeet Kasurde and GitHub
19428e37af
[stable-2.20] regex: fix example documentation for regex_test ( #86172 ) ( #86256 )
...
Fixes: https://github.com/ansible/ansible-documentation/issues/3246
(cherry picked from commit 5f2d96c )
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-12-02 09:36:58 -06:00
4e2136cdbd
[stable-2.20] Fix getuser fallback error handling ( #86144 ) ( #86167 )
...
(cherry picked from commit 4184d96 )
Co-authored-by: Matt Clay <matt@mystile.com >
2025-11-24 09:17:12 -06:00
Abhijeet Kasurde and GitHub
8de1d8ea3f
[stable-2.20] get_url: Fix regex for GNU digest line ( #86134 ) ( #86215 )
...
* GNU digest line may contain multiple spaces between
checksum and filename. Fix regex to handle this situation.
Fixes : #86132
(cherry picked from commit af9009b )
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-11-24 09:15:07 -06:00
cc7b984418
[stable-2.20] Fix first_found example ( #86224 ) ( #86225 )
...
(cherry picked from commit ce84d31 )
Co-authored-by: Matt Clay <matt@mystile.com >
2025-11-24 09:14:50 -06:00
Abhijeet Kasurde and GitHub
032d91897b
[stable-2.20] package_facts: typecast bytes to string while returning facts ( #85939 ) ( #86046 )
...
Fixes : #85937
(cherry picked from commit ef53d63 )
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-10-29 11:20:42 -07:00
Abhijeet Kasurde and Matt Martz
40b11f86fb
known_hosts: return rc and stderr in fail_json ( #85871 )
...
* When ssh-keygen fails, return rc and stderr in fail_json
in order to help debugging.
Fixes : #85850
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
(cherry picked from commit 6bee84318d )
2025-10-06 11:58:05 -05:00
Abhijeet Kasurde and Matt Martz
f23224d7b4
falsy: Update doc ( #85913 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
(cherry picked from commit c5e6227bdb )
2025-10-06 11:58:05 -05:00
Abhijeet Kasurde and GitHub
5fc4b8c106
action: more debugging information ( #85839 )
...
* action: more debugging information
* Allow user to identify underlying problem with chmod, setfacl
command.
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
* Review requests
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
* Review requests
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
* Review requests
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
---------
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-09-23 17:07:00 +02:00
Abhijeet Kasurde and GitHub
cf9d78206c
blockinfile: use line_separator variable ( #85798 )
...
* Future proofing the usage of line separator in blockinfile module.
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-09-10 19:27:34 +00:00
Abhijeet Kasurde and GitHub
1cd4369815
fetch_file: add ca_path and cookies parameters ( #85187 )
...
* Added ca_path and cookies parameter arguments to fetch_file method
to specify CA path and Cookies to fetch file from URL. These parameters
are already supported by fetch_url.
Fixes : #85172
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-09-08 14:44:17 +00:00
Abhijeet Kasurde and GitHub
975f60ebf9
encrypt: Remove deprecated passlib_or_crypt API ( #85506 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-09-05 22:19:53 +00:00
Abhijeet Kasurde and GitHub
a805356358
include_vars: Code cleanup and integration tests ( #85292 )
...
* Updated docs
* Removed stale code
* Added integration tests for better coverage
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-09-05 20:18:26 +00:00
Abhijeet Kasurde and GitHub
d93f63ecfb
apt_repository: Use correct debug method ( #85786 )
...
* Use self.module.debug method instead of non-existent
self.debug method
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-09-02 16:09:32 -07:00
Abhijeet Kasurde and GitHub
7b1644e0b3
dnf: Check if installroot is directory or not ( #85748 )
...
* dnf: Check if installroot is directory or not
* dnf library creates installroot if it is missing.
check if installroot is directory or not.
Fixes : #85680
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-09-02 11:11:30 -04:00
Abhijeet Kasurde and GitHub
a8dc3fae1e
cron: misc fixes ( #85733 )
...
* removed elif in when return is used
* removed redundant module.exit_json
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-09-02 11:08:05 -04:00
Abhijeet Kasurde and GitHub
603dd2d793
test: Remove redundant Python 3 condition ( #85664 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-08-15 12:24:33 -07:00
Abhijeet Kasurde and GitHub
90f62f3fdf
regex: validate input before processing ( #85629 )
...
* Validated user input for match_type before processing
* added new match_type 'fullmatch'
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-08-12 08:01:26 -07:00
Abhijeet Kasurde and GitHub
9ed7164ed6
service_facts: Handle KeyError while processing service name ( #85572 )
...
* service_facts: Handle KeyError while processing service name
As a part of follow up review,
* 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 >
2025-08-07 15:16:52 -04:00
Abhijeet Kasurde and GitHub
97b2242b78
wrapt: Bump version from 1.15.0 to 1.17.2 ( #85500 )
...
Fixes : #85407
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-31 11:35:16 -04:00
Abhijeet Kasurde and GitHub
e62cfa2c02
test: correct variable in debug ( #85529 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-29 11:08:29 -04:00
Abhijeet Kasurde and GitHub
ea238c9eb5
tqm: Use correct warning methods ( #85434 )
...
* Use display.error_as_warning instead of self.warning
* Use display.error_as_warning instead of display.warning_as_error.
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-24 21:35:30 -07:00
Abhijeet Kasurde and GitHub
181dbdbf27
filter: update integration tests ( #84990 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-24 15:37:15 +00:00
Abhijeet Kasurde and GitHub
d2be8684b3
Remove deprecated py3compat.environ call ( #85501 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-22 11:27:50 -04:00
Abhijeet Kasurde and GitHub
a2427e45df
docs: use correct URL in docs ( #85491 )
...
* wait_for: use correct URL in docs
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-22 11:18:38 -04:00
Abhijeet Kasurde and GitHub
19c7ec6ed2
Distribution: Added UCS in Debian OS Family ( #85496 )
...
* Identify Univention Corporate Server as Debian OS Family.
Fixes : #85490
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-22 11:16:52 -04:00
eb5e57a8f0
six: bump version from 1.16 to 1.17 ( #85478 )
...
Fixes : #85408
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com >
2025-07-16 04:21:17 +00:00
Abhijeet Kasurde and GitHub
8207406306
Fixed string type in tags fieldattribute ( #84655 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-07-07 11:44:19 -07:00
34f2f39abe
json filter: update docs ( #84989 )
...
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 >
2025-07-07 17:06:08 +00:00
e162eda1e6
apt: Mark dependencies as auto ( #85170 )
...
* Mark dependent packages as auto which are installed as part of
deb file installation
Fixes : #78123
Co-authored-by: Matt Clay <matt@mystile.com >
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-03 16:25:11 +00:00
Abhijeet Kasurde and GitHub
557733abb1
yaml filter: update docs ( #85261 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-07-03 15:02:17 +00:00
Abhijeet Kasurde and GitHub
cace19f365
apt: Consider timeout while invoking apt-get command ( #85219 )
...
* apt: Consider timeout while invoking apt-get command
* Apply timeout specified by user to apt-get command
using '-o DPkg::Lock::Timeout=' syntax
Fixes : #78658
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-06-12 17:37:21 -05:00
Abhijeet Kasurde and GitHub
068157618c
service: Remove py2 specific code ( #85191 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-05-27 16:29:54 +02:00
1daa8412d5
comment: raise an exception when an invalid option is provided ( #84984 )
...
Co-authored-by: Matt Clay <matt@mystile.com >
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-04-18 20:40:28 -07:00
Abhijeet Kasurde and GitHub
500a4aba08
filter_core integration test - remove Python 2.6 related dead code ( #84985 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-04-15 11:23:30 -04:00
Abhijeet Kasurde and GitHub
c54ff7de41
Filter: add support for URL-safe encoding/decoding in b64* ( #84949 )
...
* Added support for URL-safe decoding into b64decode
* Added support for URL-safe encoding into b64encode
Fixes : #84147
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-04-11 09:08:02 -07:00
Abhijeet Kasurde and GitHub
fcdf0b80b3
git: Document security risk involved in embedding user creds ( #84963 )
...
* Provide warning to user about the potential risk involved in
embedding username and password in git URL while checking out the source.
Fixes : #84557
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-04-10 15:15:42 -04:00
Abhijeet Kasurde and GitHub
82e4b469f6
respawn: Update ENV dict copy with PYTHONPATH value ( #84962 )
...
* Use shallow copy of os.environ to update PYTHONPATH value
instead of using '|' operator
Fixes : #84954
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-04-10 15:14:24 -04:00
Abhijeet Kasurde and GitHub
5347d4d4fc
distro: detect debian for OS_FAMILY for LMDE 6 ( #84941 )
...
Fixes : #84934
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-04-09 16:22:20 -04:00
Abhijeet Kasurde and GitHub
19e9f3dae2
basic: remember the user sensitive information to use later ( #84699 )
...
* 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
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-04-08 09:53:36 -05:00
Abhijeet Kasurde and GitHub
2a4b1c8248
ansible-config: Dump galaxy server config in proper JSON format ( #84912 )
...
Fixes : #84840
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-04-01 11:36:15 -04:00
Abhijeet Kasurde and GitHub
5280850130
find: skip ENOENT while enumerating files ( #84877 )
...
* 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 >
2025-03-24 07:37:01 -07:00
Abhijeet Kasurde and GitHub
611d8bdde3
doc-build: fix doc builds ( #84852 )
...
Fixes : #84849
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-03-18 16:20:50 +01:00
Abhijeet Kasurde and GitHub
ac43e40904
darwin: simplify the fact code ( #84848 )
...
* Follow up for code review on #84779
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-03-18 14:21:30 +00:00
Abhijeet Kasurde and GitHub
50b4e0d279
facts: use pagesize for darwin ( #84779 )
...
Fixes : #84773
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-03-11 15:40:46 +00:00
Abhijeet Kasurde and GitHub
532e3ea3ec
test: error handling in include_role ( #84737 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-03-04 15:17:01 +00:00
Abhijeet Kasurde and GitHub
650ee5abf8
core: update b64encode and b64decode doc ( #84757 )
2025-02-28 17:37:38 +01:00
Abhijeet Kasurde and GitHub
478806e668
Minor typo fixes ( #84714 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-02-14 16:47:18 -05:00
Abhijeet Kasurde and GitHub
b27b8068f9
re: maxsplit is now keyword argument ( #84702 )
...
* Passing maxsplit and flags as positional arguments is deprecated in
3.13.
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-02-11 10:45:02 -05:00
Abhijeet Kasurde and GitHub
411b7985a5
test: Enable group tests for Alpine ( #84652 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-02-11 10:10:08 -05:00
Abhijeet Kasurde and GitHub
d0110ff691
test: enable user test for alpine ( #84644 )
...
* test: enable user test for alpine
* Disable user home update tests
* Disable some more tests which are not applicable for Alpine
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-02-11 10:09:29 -05:00
Abhijeet Kasurde and GitHub
8290912eb1
service_facts: skip unwanted lines in openrc output ( #84622 )
...
* rc-status commands returns unwanted lines with service names
and their status. Skip such lines while parsing service names
Fixes : #84512
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-28 16:19:46 +01:00
Abhijeet Kasurde and GitHub
6db6d1967e
connection: raise exception return by SSH ( #84592 )
...
Fixes : #58133
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-28 16:05:37 +01:00
Abhijeet Kasurde and GitHub
e6adddcaf8
debug: hide loop variables while using var ( #84597 )
...
Fixes : #65856
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-23 15:00:32 -08:00
Abhijeet Kasurde and GitHub
03d6209862
apt_key: fix module names in docs ( #84588 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-22 08:46:04 -06:00
Abhijeet Kasurde and GitHub
c9097f73a2
uri: Handle HTTP exception raised ( #84015 )
...
* Handle HTTP exceptions raised when reading the content
such as IncompleteRead
Fixes : #83794
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-21 21:39:28 +00:00
Abhijeet Kasurde and GitHub
186c716af1
generator: add support for extra vars usage ( #84544 )
...
* generator: add support for extra vars usage
Fixes : #83270
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* CI green
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Review requests
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Review requests II
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
---------
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-21 15:20:51 -05:00
Abhijeet Kasurde and GitHub
689c047e3a
Update win_dirname and win_basename docs ( #84587 )
...
* Updated docs and examples for win_dirname and win_basename for UNC path
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-21 09:57:14 -08:00
Abhijeet Kasurde and GitHub
b51ec9412e
cache: deprecated API first_order_merge ( #84568 )
...
* deprecated legacy method first_order_merge
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-21 09:33:22 -08:00
Abhijeet Kasurde and GitHub
5b0d170496
get_url: add support for BSD-style digest ( #84485 )
...
* Added support for BSD-style digest file to test
checksum of downloaded file.
Fixes : #84476
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-14 15:44:29 +00:00
Abhijeet Kasurde and GitHub
8588401387
User: Update prompt for SSH key passphrase prompt ( #84521 )
...
* update prompt for SSH key passphrase prompt
* introduce timeout in SSH key passphrase interaction
Fixes : #84484
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-14 10:35:31 -05:00
Abhijeet Kasurde and GitHub
508c4dc93e
Update ticketing stubs ( #84535 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-13 12:04:50 -08:00
Abhijeet Kasurde and GitHub
f72aa1dc0c
test: Update regex for required and default in FieldAttributes ( #84209 )
...
Fixes : #61460
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2025-01-03 02:14:56 +00:00
Abhijeet Kasurde and GitHub
01ca9b1d0e
uri: move follow_redirects to module_utils ( #84442 )
...
* url lookup and uri module shares follow_redirects parameter,
moving it module_utils code.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-10 08:08:24 -08:00
Abhijeet Kasurde and GitHub
ac110eb012
lookup_template: added trim_blocks option ( #84254 )
...
* Allow user to control the trimming of blocks while templating
* Added tests
* Updated documentation and example
Fixes : #75962
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-06 15:44:08 +00:00
Abhijeet Kasurde and GitHub
0f466bb75f
test: Remove dead code ( #84436 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-05 14:52:12 -08:00
Abhijeet Kasurde and GitHub
b154e38e54
config lookup, fixes and tests ( #84398 )
...
* Integration tests for lookup_config
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-05 11:19:34 -08:00
Abhijeet Kasurde and GitHub
1ad0c404ef
Coverage for virtual/sunos.py ( #84357 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-03 09:11:49 -08:00
Abhijeet Kasurde and GitHub
2ca086c993
Coverage for virtual/hpux.py ( #84362 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-03 10:41:56 -05:00
Abhijeet Kasurde and GitHub
5b231bbbdb
test coverage for virtual/sysctl.py ( #84356 )
...
* test coverage for virtual/sysctl.py
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-03 10:33:30 -05:00
Abhijeet Kasurde and GitHub
27aa60b8b4
Added examples for password_hash ( #84322 )
...
Fixes : #84318
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-03 15:14:48 +00:00
Abhijeet Kasurde and GitHub
92cf41aa46
Additional tests for lookup_sequence ( #84315 )
...
* Additional tests for lookup_sequence
* Follow up for https://github.com/ansible/ansible/pull/83758 ,
to add tests for stride parameter.
---------
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-03 10:06:29 -05:00
Abhijeet Kasurde and GitHub
9588215601
Removed deprecated include_delegate_to param ( #84306 )
...
* Removed deprecated include_delegate_to param
* Remove deprecated include_delegate_to param from
get_vars API in manager.py
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Make ignore.txt
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-12-03 10:04:32 -05:00
Abhijeet Kasurde and GitHub
32eacecca9
Deprecated libvirt_lxc_noseclabel config ( #84287 )
...
* Deprecated libvirt_lxc_noseclabel config
* deprecate moved libvirt_lxc_noseclabel config
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Make CI green I
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
---------
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-11-12 16:13:45 +01:00
Abhijeet Kasurde and GitHub
ca0810da85
Add tests for deprecations ( #84284 )
...
* Check for module deprecation
* Check for module option deprecation
* Check for plugin deprecation
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-11-12 16:09:39 +01:00
Abhijeet Kasurde and GitHub
a99d66e6c7
Removed deprecated STRING_CONVERSION_ACTION ( #84245 )
...
Fixes : #84220
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-11-05 16:27:12 +01:00
Abhijeet Kasurde and GitHub
f92e99fd8f
test: fix check_required_by ( #84153 )
...
* Update the documentation for check_required_by
* Fix return value for check_required_by (now returns empty list on success)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-11-02 10:36:45 -07:00
Abhijeet Kasurde and GitHub
8784469b4c
encrypt: raise error on passing unsupported passlib hashtype ( #84186 )
...
* Raise an AnsibleFilterError when unsupported passlib hashtype is
provided in do_encrypt.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-31 15:27:37 +00:00
Abhijeet Kasurde and GitHub
3a40ba3b2c
Remove deprecated pycompat24 and importlib ( #84161 )
...
* Removed deprecated pycompat24 and importlib
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Make CI green
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Ignore basic.py
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Make CI green III
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Make CI green IV
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
---------
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-29 16:14:01 +01:00
Abhijeet Kasurde and GitHub
1b46b5923e
Change changelog type from bugfixes to removed_features ( #84158 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-29 16:09:20 +01:00
Abhijeet Kasurde and GitHub
f29b46e438
Remove deprecated plural form of collection path ( #84156 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-29 16:07:20 +01:00
Abhijeet Kasurde and GitHub
ab1a8cb3b3
docs: print deprecation collection name ( #84126 )
...
While showing the deprecation message, mention the collection name
from which the module is removed.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-25 11:20:11 -07:00
Abhijeet Kasurde and GitHub
b1816880cb
Remove deprecated compat.selector ( #84155 )
...
* Removed files related to selector compat
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-23 14:54:40 +00:00
1e6ffc1d02
Fixed broken tests ( #84088 )
...
* Add `match=` in pytest.raises
* Remove redundant assert statements
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
Co-authored-by: Matt Clay <matt@mystile.com >
2024-10-18 14:11:33 -07:00
Abhijeet Kasurde and GitHub
1727bbecce
test: Remove unreachable tests ( #83696 )
...
variable_manager unit tests are unreachable. These tests
are already covered in integration tests.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-18 12:23:40 -07:00
Abhijeet Kasurde and GitHub
53ceb74e84
Use open with context manager ( #83337 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-18 10:53:11 -07:00
Abhijeet Kasurde and GitHub
663f7f3b56
test for gathering FIPS facts ( #83266 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-16 12:35:12 -07:00
Abhijeet Kasurde and GitHub
279de623d0
Use dict comprehension instead ( #83680 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-16 12:33:07 -07:00
Abhijeet Kasurde and GitHub
671c797aa1
Remove unnecessary code ( #84085 )
...
* os.setsid does not return anything, so remove code which relying
on return value
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-15 07:59:01 -07:00
Abhijeet Kasurde and GitHub
18c6b40e19
Update unique filter docs ( #84078 )
...
* Correct case_sensitive example
* Add attribute docs
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-08 12:09:07 -07:00
Abhijeet Kasurde and GitHub
02e00aba3f
file: simplify the code ( #84043 )
...
* Remove unnecessary code
* Make code simple to read
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-03 06:53:09 -07:00
Abhijeet Kasurde and GitHub
b3c4154e86
Use sentinel everywhere ( #84041 )
...
* Use sentinel everywhere
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-02 15:49:35 -07:00
Abhijeet Kasurde and GitHub
79e8c4c26c
debconf: set empty password value ( #83217 )
...
Fixes : #83214
---------
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-10-01 11:48:57 -04:00
Abhijeet Kasurde and GitHub
34f8f55d9e
facts: Skip path if the distribution path is directory ( #84012 )
...
* facts: Skip path if the distribution path is directory
Skip path if the distribution path is directory instead of file.
Handle exception raised while handling distribution path.
Fixes : #84006
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
* Review requests
---------
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-09-26 15:05:57 -04:00
Abhijeet Kasurde and GitHub
b5263c2c10
isidentifier: Remove Python 2 specific code ( #83688 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-09-23 20:41:08 +00:00
Abhijeet Kasurde and GitHub
207a5fbebb
test: Handle Singleton Display class ( #83673 )
...
Fixes : #83538
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-08-01 23:21:08 -07:00
91f680a749
Remove extraneous get_bin_path call ( #83675 )
...
ip_path is already calculated before calling get_interfaces_info
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com >
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com >
2024-08-02 00:12:57 +00:00
Abhijeet Kasurde and GitHub
245885177c
systemd facts: Handle AttributeError ( #83684 )
...
* Handle AttributeError raised while running systemd facts on
non-systemd hosts
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-08-01 12:09:02 -07:00