Brian Coca
a7d2a4e032
display, also proxy warnings and deprecations ( #81060 )
...
Use generic proxy for display methods with decorator
3 years ago
Brian Coca
38067860e2
template escaping: use configured variable start instead of default one ( #81001 )
...
this will handle escaping correctly in tempaltes that override the default jinja variable tokens
also fix optimization for single var path when overrides happen
3 years ago
Giovanni Toraldo
1f9836fe9a
Fix typo in to_yaml filter examples ( #81094 )
3 years ago
Maxwell G
bd5b0b4293
Avoid deprecated importlib.abc.TraversableResources ( #81082 )
...
* Avoid usage of deprecated importlib.abc.TraversableResources
This fixes ansible-compat test failures with Python 3.12.
* Add deprecated: marker for compat code
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
* add declarative deprecation comment to < 3.9 case
Co-authored-by: Matt Clay <matt@mystile.com>
---------
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
3 years ago
Matt Martz
56b67cccc5
Resolve issues on python pre-3.10.6 with collection dirs longer than 100 characters ( #81061 )
3 years ago
Sloane Hertel
ecbbd7e5d1
Remove Python 3.5 support ( #80972 )
...
* Remove Python 3.5 support
* changelog
* add requested changes
* Update changelogs/fragments/remove-python3.5.yml
Co-authored-by: Matt Clay <matt@mystile.com>
* remove Python3 < 3.5 error handling
* remove Python3 < 3.5 error handling in TE too
---------
Co-authored-by: Matt Clay <matt@mystile.com>
3 years ago
James Cammarata
660f1726c8
Register handlers immediately if currently iterating handlers ( #80898 )
...
This fixes the issue where handlers notifying other handlers are
not properly run because the notification is not registered unless
another flush_handlers occurs. Instead, if the current host state
is iterating handlers we immediately register the handler to be
run so the notification is not lost.
Fixes #80880
3 years ago
Matt Martz
73e04ef2d6
Don't mutate templar.environment, only overlay on local myenv ( #81005 )
3 years ago
Abhijeet Kasurde
cf803d6d58
Improved return docs ( #81006 )
...
* Improved the return docs for modules `sysvinit`
and `systemd_service`
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Felix Fontein
440b5fd040
Make sure that values that should be strings are actually strings. ( #81029 )
3 years ago
Abhijeet Kasurde
ce55e0faf5
Update example in apt_key module ( #81017 )
...
* Verify checksum of downloaded key
Fixes : #79892
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Felix Stupp
a473bb798d
modules/find: param contains: Describe matching behavior ( #80744 )
3 years ago
Vlad Glagolev
faa6d55ee6
Fix Source Mage family mapping ( #80985 )
...
* Fix Source Mage family mapping
* Update docs too
* Add changelog fragment
3 years ago
Martin Krizek
6fcbed0f3f
Simplify conditional.py ( #80584 )
...
* Simplify conditional.py
3 years ago
Holger Dörner
25b3d3a6f7
Check if skeleton is /dev/null while creating home folder ( #75948 )
...
* Check if skeleton is /dev/null while creating home folder
* Add test for linux
Co-authored-by: Holger Dörner <h.doerner@bitexpert.de>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
3 years ago
Sloane Hertel
1ecc62ba06
Document lookups using dwim ( #80878 )
3 years ago
Vlad Glagolev
c511a79172
Add simpleinit_msb fact for service_mgr ( #80963 )
...
* Add simpleinit_msb fact for service_mgr
3 years ago
Abhijeet Kasurde
fda66eeee0
Sanity Fixes: ( #80953 )
...
* Typo fixes
* arguments-renamed
* pep8:E501
* pylint:use-a-generator
* pep8:E231
* use-argspec-type-path
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
tachyontec
9e14a85fe3
Added link to argument_spec ( #80967 )
3 years ago
Matt Martz
92d5ffda82
Update galaxy_ng container for tests ( #80721 )
3 years ago
Matt Martz
08a647214f
Indicate which args can be provided multiple times. Fixes #22396 ( #80970 )
3 years ago
Vlad Glagolev
d210260afc
Correct syntax error in the example ( #80976 )
...
* Update success.yml
* Update reachable.yml
* Update unreachable.yml
3 years ago
Sloane Hertel
742d47fa15
replace deprecated ast.value.s with ast.value.value ( #80968 )
...
* replace deprecated ast.value.s with ast.value.value
the s attribute is deprecated since Python 3.8 and emits a warning in
3.12 causing some test failures
3 years ago
Matt Martz
aa67d544fc
Handle unreachable errors in fetch properly. Fixes #27816 ( #80952 )
3 years ago
Matt Martz
0982d5fa98
Fix TypeError when installing subdir collections. Fixes #80943 ( #80949 )
3 years ago
Abhijeet Kasurde
c069cf88de
Added an example of mixed format argv in command module ( #80933 )
...
Fixes : #80126
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
David-Ademola
e91bf2248f
Update manager.py ( #80926 )
3 years ago
F-Baker
6011b7c4c1
Update split.yml ( #80915 )
...
typo in description
3 years ago
Ikko Eltociear Ashimine
d0686f0f77
fix typo in from_yaml_all.yml ( #80911 )
...
mulitple -> multiple
3 years ago
Abhijeet Kasurde
e88ff32b10
deb822_repository: use http-agent with open_url ( #80876 )
...
* Use http-agent in open_url API while getting
cloudflare content
Fixes : #80809
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Matt Martz
09387eaa24
Update dnf5 module to handle API change for setting the download directory. Fixes #80887 ( #80888 )
3 years ago
Matt Martz
0775e991d5
Documentation tweaks for apt repo key management. Fixes #78063 ( #80872 )
3 years ago
Sloane Hertel
09b4cae4fb
unarchive - ensure src is an absolute path before picking handler ( #80738 )
3 years ago
Abhijeet Kasurde
d955fb1590
Removed unused `get_md5` parameter from stat ( #80871 )
...
* removed unused, undocumented `get_md5` parameter from stat module.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Matt Martz
8652b231f2
Align yum_repository documentation with arguments ( #80867 )
3 years ago
Brent Barbachem
0c7361d9ac
URI Module find json sub type ( #80745 )
...
* uri: fixed search for json types to include strings in the format xxx/yyy+json
3 years ago
Abhijeet Kasurde
652ddc4078
Fix pylint disallowed-name errors ( #80854 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Matt Martz
61157f6a9e
Switch from multiprocessing.Queue to SimpleQueue ( #80838 )
3 years ago
Martin Krizek
202195f5e4
Remove unreachable error for removed include_role.static ( #80837 )
3 years ago
Brian Coca
4899d4a4d6
simple skip of connection ( #80638 )
...
Avoid 'persistent' connection handling if not needed
removed useless connection passing
added property to action classes as indicator/selector
3 years ago
Jordan Borean
8db9bd7574
Remove deprecated include ( #80752 )
...
* Remove deprecated include
* Add tombstone entry for include
* Use string for date
* Use todays date
* Remove uneeded if statement
3 years ago
Jordan Borean
2253837453
command - Add option to disable argument var expansion ( #80512 )
...
* command - Add option to disable argument var expansion
* Use test char that isn't an escape sequence
3 years ago
Ikko Eltociear Ashimine
dbfb0d3cc4
Fix typo in service_mgr.py ( #80824 )
...
faild -> failed
3 years ago
Jordan Borean
0df794e5a4
urls - remove deprecated client key calls ( #80751 )
3 years ago
Matt Clay
e837680f4b
Use strings for `removal_date` in runtime metadata ( #80815 )
3 years ago
Brian Coca
0830b69059
config lookup, new option to show origin of value ( #80651 )
3 years ago
Abhijeet Kasurde
93216e276c
[sanity-mypy] Ignore re-import warning ( #80763 )
...
* get_origin is already imported warning can be
ignore safely.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Matt Clay
fd341265d0
ansible-test - Avoid use of deprecated utcnow ( #80750 )
...
The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.
3 years ago
Matt Clay
905131fc76
junit-xml - Remove outdated type ignore hint ( #80748 )
3 years ago
PRASOON KARUNAN V
b576f0cda7
fix error if path had wildcard in it ( #74723 )
...
* fix error if path had wildcard in it
* add test
* add changelog fragment
3 years ago