Abhijeet Kasurde and GitHub
8849bd776b
[stable-2.19] service_facts: Handle KeyError while processing service name ( #85572 ) ( #85647 )
...
* 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
(cherry picked from commit 9ed7164 )
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-08-18 15:34:42 -07:00
Abhijeet Kasurde and GitHub
e24bc689a3
[stable-2.19] test: Remove redundant Python 3 condition ( #85664 ) ( #85675 )
...
(cherry picked from commit 603dd2d )
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-08-15 15:14:29 -07:00
Abhijeet Kasurde and GitHub
e8272f1038
[stable-2.19] filter: update integration tests ( #84990 ) ( #85540 )
...
(cherry picked from commit 181dbdb )
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
2025-08-04 10:13:12 -05:00
e55cda68f1
[stable-2.19] json filter: update docs ( #84989 ) ( #85442 )
...
(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 >
2025-07-08 14:46:36 -07:00
Abhijeet Kasurde and Matt Clay
73df36e7d0
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 >
(cherry picked from commit cace19f365 )
2025-06-24 15:18:16 -07:00
Abhijeet Kasurde and Matt Davis
2d800e1a4c
service: Remove py2 specific code ( #85191 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
(cherry picked from commit 068157618c )
2025-06-03 15:49:23 -07:00
Abhijeet Kasurde and Matt Martz
ffbf121182
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 >
(cherry picked from commit 1daa8412d5 )
2025-04-21 10:11:08 -05:00
Abhijeet Kasurde and Matt Martz
c21a817c47
filter_core integration test - remove Python 2.6 related dead code ( #84985 )
...
Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com >
(cherry picked from commit 500a4aba08 )
2025-04-16 10:55:21 -05: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
Abhijeet Kasurde and GitHub
31ad786de1
ansible-doc: handle on_fail ( #83676 )
...
Handle errors raised when role doc has errors
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-08-01 12:08:11 -07:00
Abhijeet Kasurde and GitHub
c6d5be5cac
test: update tests ( #83686 )
...
* Remove commented code
* Enable disabled tests
* Formatting
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-07-31 17:32:11 -07:00
Abhijeet Kasurde and GitHub
3daf01e270
tests: use keyserver with keyid while using apt_key ( #83694 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-07-31 15:52:12 -07:00
Abhijeet Kasurde and GitHub
d23a2de5f2
Remove selinux import ( #83674 )
...
Remove selinux import which was kept for backward compatibility
Fixes : #83657
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-07-29 16:58:54 +00:00
Abhijeet Kasurde and GitHub
8e74cdc7b2
Set LANGUAGE env variable is set to a non-English locale ( #83671 )
...
Fixes : #83608
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-07-26 15:50:23 -07:00
Abhijeet Kasurde and GitHub
fe1183f8ac
Replace random with secrets ( #83668 )
...
Use secrets library instead of random.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-07-25 14:31:41 -07:00
Abhijeet Kasurde and GitHub
504f5b1230
apt: Report change when package is removed ( #83547 )
...
While upgrade process removes a package, module should
report changed=True instead of changed=False
Fixes : #46314
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-07-25 15:01:46 +00:00
Abhijeet Kasurde and GitHub
cd105d479a
display: warn user about empty log path value ( #83381 )
...
Fixes : #79959
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-07-23 21:21:23 +00:00
Abhijeet Kasurde and GitHub
c93af4e148
unarchive: handle content and size differences ( #83454 )
...
Consider content differs and size differs while unarchiving
the same tar.gz file
Fixes : #29610
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-06-20 10:50:27 -07:00
Abhijeet Kasurde and GitHub
224853b684
replace: update after/before example ( #83453 )
...
Fixes : #83390
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-06-18 11:03:49 -04:00
Abhijeet Kasurde and GitHub
6382ea168a
vault: Handle directory value to vault password file ( #83384 )
...
When vault password file env variable is set to blank,
this value is converted to CWD and passed for further
processing.
Check if ANSIBLE_VAULT_PASSWORD_FILE is not a directory.
Fixes : #42960
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-06-14 18:40:30 -07:00
Abhijeet Kasurde and GitHub
6e8a7ed327
Revert warning message in setup/gather_facts ( #83427 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-06-11 12:01:29 -07:00
Abhijeet Kasurde and GitHub
d16ad25e4b
Remove extraneous pylint ignore ( #83257 )
...
* Pylint issue 511 is closed, remove ignore related to that.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-06-10 19:23:49 -07:00
Abhijeet Kasurde and GitHub
16ebeb7d21
facts: add facts about x86_64 flags to detect microarchitecture ( #83356 )
...
Fixes : #83331
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-06-04 13:35:07 -07:00
Abhijeet Kasurde and GitHub
153c979662
test: Cleanup facts/network/* tests ( #83256 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-30 09:23:18 -07:00
Abhijeet Kasurde and GitHub
375d3889de
ansible-doc: make color configurable ( #83311 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-29 09:44:54 -07:00
Abhijeet Kasurde and GitHub
3253189b33
get_url: update docs for checksum ( #83305 )
...
If user provides checksum URL which requires basic auth,
then module parameter username and password is used to
download the checksum file.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-28 11:23:52 -04:00
Abhijeet Kasurde and GitHub
3af9d0f189
apt_*: add more info message while updating apt cache ( #83230 )
...
Fixes : #77941
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-23 16:15:02 -07:00
Abhijeet Kasurde and GitHub
c1d41ee44e
filter: update the documentation for win_splitdrive ( #83301 )
...
Fixes : #83299
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-23 12:12:29 -07:00
Abhijeet Kasurde and GitHub
b70248eb22
Warn if the binary is unavailable using get_bin_path ( #83258 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-16 02:32:22 +00:00
Abhijeet Kasurde and GitHub
ac6200b597
Refactor dmidecode fact gathering code ( #83211 )
...
* Code now bails out early if dmidecode command is unavailable
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-14 17:18:59 +02:00
Abhijeet Kasurde and GitHub
f7d7890df9
Use inclusive word: logical ( #83232 )
...
Use word 'logical' instead of non-inclusive word
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-10 15:49:53 +00:00
Abhijeet Kasurde and GitHub
036d14f1e6
Darwin: add unit tests for hardware fact gathering ( #83212 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-07 15:33:13 -07:00
Abhijeet Kasurde and GitHub
57a8eca3af
pymarkdown: update docs ( #83150 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-06 21:52:50 +00:00
Abhijeet Kasurde and GitHub
f4bbd75a3c
git: Check if version is populated or not ( #82173 )
...
Before usage check if the git version is populated or not.
Fixes : #72321
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-03 22:17:36 +00:00
Abhijeet Kasurde and GitHub
2b65166a29
uri: deprecate 'yes' or 'no' value in follow_redirects param ( #83169 )
...
* uri (module and lookup): deprecate 'yes' or 'no' value in follow_redirects param
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-05-02 02:43:22 +00:00
Abhijeet Kasurde and Matt Clay
802e95f580
distro: remove pep8 ignore
...
* Remove unnecessary pep8 from ignore.txt
Fixes : #80840
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-04-25 12:23:01 -07:00
Abhijeet Kasurde and Matt Clay
628ce5a62e
assemble: update argument_spec with 'decrypt' option
...
* decrypt option is used by assemble action plugin.
Add this parameter to remove failure raised by
validate-modules:nonexistent-parameter-documented
Fixes : #80840
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-04-25 12:22:19 -07:00
Abhijeet Kasurde and GitHub
5dac5d365a
systemd_service: handle failure when mask operation fails ( #83079 )
...
* Handle the mask operation failure instead of just
marking state changed.
Fixes : #81649
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2024-04-18 16:28:30 +00:00