Martin Krizek
df29852f3a
Update the dnf5 copr repo ( #83459 )
...
The dnf-nightly is the official nightly repo now.
5 months ago
Abhijeet Kasurde
224853b684
replace: update after/before example ( #83453 )
...
Fixes : #83390
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 months ago
shiftyphil
dc31b6cf55
service_facts on OpenBSD: Don't crash on '=' in rcctl flags. ( #83458 )
...
Splitting on all '=' characters produced too many values.
5 months ago
Matt Clay
dad6f07731
ansible-test - Update tested platforms ( #83446 )
...
* ansible-test - Update tested platforms
* Add work-around for Alpine tests
* Fix prepare_http_tests on Fedora
* Fix deb-src setup for Ubuntu 24.04+
* Set multiarch_test_pkg for Ubuntu 24.04
* Update AZP test matrix
6 months ago
Rob Garcia
c1a082c697
Added docstrings to V2 methods in the CallbackBase Class (2 & 3 of 27) ( #83342 )
6 months ago
Matt Clay
44f22162cb
Remove timezone support module and tests ( #83465 )
...
The timezone support module was used only for changing the timezone in the user module integration tests.
Changing the timezone for the tests is unecessarily complex for the purpose of asserting proper parsing of user expiration times.
6 months ago
Matt Clay
f4751766db
selinux compat - add ignore, proper ex chaining ( #83460 )
6 months ago
Martin Krizek
b2a289dcbb
Remove Python 3.10 support for the controller ( #83221 )
...
Fixes #83094
6 months ago
Abhijeet Kasurde
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>
6 months ago
flowerysong
1ed29416db
dnf: update `use_backend` documentation ( #83429 )
...
* add note about backwards compatibility
6 months ago
Gilson Guimarães
e64c6c1ca5
unarchive: Better handling of files with an invalid timestamp in zip file ( #81520 )
...
Fixes : #81092
Signed-off-by: gilsongpfe <gilson.gpf@gmail.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Colin Nolan
a0aad17912
Adds `limit` parameter to `ansible.builtin.find` ( #83153 )
...
* Explicitly guarantee topdown search.
* Makes max matches unlimited == None.
6 months ago
Alexei Znamensky
1c156e2b70
review modules docs - batch(klmpr) ( #83418 )
6 months ago
Matt Clay
5af5b4b6c8
ansible-test - Update PyPI test container to 3.1.0 ( #83432 )
6 months ago
Matt Clay
738180d240
ansible-test - Fix unit test coverage collection ( #83433 )
6 months ago
Luke Davidson
72a5957720
Fix Linux Sector count Fact ( #81246 )
...
* Use sectorsize fact in disk size calc rather than hardcoded 512
* Added conversion for sysfs sectorcount to real sector count
6 months ago
Jordan Borean
a9b902f579
ansible-test action-plugin-docs sidecar ( #83325 )
...
Fix to have ansible-test sanity --test action-plugin-docs to check for
action plugin documentation inside a sidecar file rather than a Python
module.
6 months ago
Abhijeet Kasurde
6e8a7ed327
Revert warning message in setup/gather_facts ( #83427 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Matt Clay
cf265eb14d
Add Python 3.13 support ( #83416 )
...
* Add Python 3.13 support
* Add temporary work-around for yamllint test
6 months ago
Matt Martz
126ffc7947
Specify -O in windows ssh tests as needed for scp to work with openssh 9+ ( #83426 )
6 months ago
flowerysong
5022415887
Clarify documentation for `INJECT_FACTS_AS_VARS` ( #83404 )
6 months ago
Alexei Znamensky
c6ba5a3560
docs adjustments - batch(ghi) ( #83399 )
...
* review modules docs - batch(ghi)
* fix option markup in gather_facts
6 months ago
Matt Clay
14df8c2cf2
ansible-test - Prepare for Python 3.13 ( #83414 )
...
Includes an update to `coverage` and pinned Python requirements.
6 months ago
Abhijeet Kasurde
d16ad25e4b
Remove extraneous pylint ignore ( #83257 )
...
* Pylint issue 511 is closed, remove ignore related to that.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Alexei Znamensky
4f73d2ff7a
docs adjustments ( #83369 )
6 months ago
Matt Clay
531bc9891f
Fix issues reported by mypy ( #83413 )
6 months ago
Matt Clay
6ab26707de
Fix quoting in fork_safe_stdio test ( #83412 )
6 months ago
Martin Krizek
cbbf06893e
Validate and process Handler.listen only once ( #83400 )
...
Fixes #83392
6 months ago
Matt Clay
2e60bef855
Update azure-pipelines-test-container ( #83302 )
6 months ago
Sloane Hertel
bdc1cdfa54
Revert "bool filter, add booleanization strategy option ( #83362 )" ( #83391 )
...
This reverts commit 655a8ff38f
.
6 months ago
Matt Martz
93b8b86067
Properly quote all needed components of shell commands ( #83365 )
...
* Properly quote all needed components of shell commands
* Use self.quote, add new self.join
6 months ago
Sloane Hertel
68638f4710
fix any_errors_fatal tests ( #83389 )
...
* fix any_errors_fatal test to exit on non-zero rc
Use a typo in the debug msg to avoid matching play recap
* remove duplicate 'set -ux'
6 months ago
Alexei Znamensky
70c2b35210
docs adjustments (batch 2) ( #83368 )
...
* docs adjustments
* Update lib/ansible/modules/assemble.py
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
---------
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Brian Coca
655a8ff38f
bool filter, add booleanization strategy option ( #83362 )
...
also make the YAML booleanization the same as spec/JSON/module function
previous 'aproximation' was missing several options.
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Abhijeet Kasurde
16ebeb7d21
facts: add facts about x86_64 flags to detect microarchitecture ( #83356 )
...
Fixes : #83331
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Brian Coca
0a311f6669
additional timeout info ( #83364 )
6 months ago
Brian Coca
c77ed376c4
timeout give extra info ( #83206 )
...
the new field shows the python code in execution when it timed out, 99% of the time it will be on a selector waiting for output from ssh to remote.
6 months ago
MajesticMagikarpKing
e07b4edc54
Fix Test failure with cowsay installed/present ( #83347 )
6 months ago
Jordan Borean
b8f1add983
powershell - Improve Add-Type tempdir handler ( #83080 )
...
Improves the Add-Type temporary directory handler to include a retry
mechanism and not fail on an error. Deleting a temporary file used in
compilation is not a critical error and should improve the reliability
of Ansible on Windows hosts.
6 months ago
Rob Garcia
347a822a42
Documented v2_runner_on_failed method in Callback class ( #83267 )
...
* Documented v2_runner_on_failed method in Callback class
* Added changes requested by @bcoca.
6 months ago
Benoît Geeraerts
454dd9e91d
The extension returned by the splitext contains the dot ( #82803 )
...
Fixed examples for splitext filter plugin
6 months ago
Abhijeet Kasurde
153c979662
test: Cleanup facts/network/* tests ( #83256 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Sloane Hertel
f2435375a8
Fix task.resolved_action callbacks ( #82003 )
...
* Fix task.resolved_action for callbacks when playbooks use action or local_action
* Fix using module_defaults with 'action' and 'local_action' task FA and add a test case
Fixes #81905
6 months ago
odra
46168c8cc2
file module, follow symlink when doing hardlink ( #34228 )
...
Fixes : #33911
6 months ago
Brian Coca
000bac9a3e
gather_facts, mention ansible_facts_parallel var ( #83278 )
6 months ago
Brian Coca
949c503f2e
config, integrate dynamic galaxy servers ( #83129 )
...
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
6 months ago
Abhijeet Kasurde
375d3889de
ansible-doc: make color configurable ( #83311 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Abhijeet Kasurde
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>
6 months ago
Abhijeet Kasurde
3af9d0f189
apt_*: add more info message while updating apt cache ( #83230 )
...
Fixes : #77941
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago
Abhijeet Kasurde
c1d41ee44e
filter: update the documentation for win_splitdrive ( #83301 )
...
Fixes : #83299
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 months ago