Commit Graph
54732 Commits
Author SHA1 Message Date
Alexei ZnamenskyandGitHub c6ba5a3560 docs adjustments - batch(ghi) (#83399)
* review modules docs - batch(ghi)

* fix option markup in gather_facts
2024-06-11 08:02:50 -07:00
Matt ClayandGitHub 14df8c2cf2 ansible-test - Prepare for Python 3.13 (#83414)
Includes an update to `coverage` and pinned Python requirements.
2024-06-10 19:33:33 -07:00
Abhijeet KasurdeandGitHub 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
Alexei ZnamenskyandGitHub 4f73d2ff7a docs adjustments (#83369) 2024-06-11 02:16:59 +00:00
Matt ClayandGitHub 531bc9891f Fix issues reported by mypy (#83413) 2024-06-10 18:18:33 -07:00
Matt ClayandGitHub 6ab26707de Fix quoting in fork_safe_stdio test (#83412) 2024-06-10 17:13:15 -07:00
Martin KrizekandGitHub cbbf06893e Validate and process Handler.listen only once (#83400)
Fixes #83392
2024-06-10 10:46:12 -05:00
Matt ClayandGitHub 2e60bef855 Update azure-pipelines-test-container (#83302) 2024-06-06 17:19:57 -07:00
Sloane HertelandGitHub bdc1cdfa54 Revert "bool filter, add booleanization strategy option (#83362)" (#83391)
This reverts commit 655a8ff38f.
2024-06-06 14:30:15 -07:00
Matt MartzandGitHub 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
2024-06-06 15:14:18 -05:00
Sloane HertelandGitHub 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'
2024-06-06 12:25:49 -07:00
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>
2024-06-06 12:04:48 -07:00
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>
2024-06-05 17:26:01 -07:00
Abhijeet KasurdeandGitHub 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
Brian CocaandGitHub 0a311f6669 additional timeout info (#83364) 2024-06-04 14:11:54 -04:00
Brian CocaandGitHub 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.
2024-06-04 11:42:15 -04:00
MajesticMagikarpKingandGitHub e07b4edc54 Fix Test failure with cowsay installed/present (#83347) 2024-06-03 06:51:32 -07:00
Jordan BoreanandGitHub 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.
2024-06-03 13:17:36 +10:00
Rob GarciaandGitHub 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.
2024-05-31 17:22:34 -04:00
Benoît GeeraertsandGitHub 454dd9e91d The extension returned by the splitext contains the dot (#82803)
Fixed examples for splitext filter plugin
2024-05-31 08:29:33 -07:00
Abhijeet KasurdeandGitHub 153c979662 test: Cleanup facts/network/* tests (#83256)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-05-30 09:23:18 -07:00
Sloane HertelandGitHub 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
2024-05-30 10:20:54 -04:00
odraandGitHub 46168c8cc2 file module, follow symlink when doing hardlink (#34228)
Fixes: #33911
2024-05-29 22:22:19 -07:00
Brian CocaandGitHub 000bac9a3e gather_facts, mention ansible_facts_parallel var (#83278) 2024-05-29 18:11:43 -04:00
949c503f2e config, integrate dynamic galaxy servers (#83129)
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-05-29 15:42:21 -04:00
Abhijeet KasurdeandGitHub 375d3889de ansible-doc: make color configurable (#83311)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-05-29 09:44:54 -07:00
Abhijeet KasurdeandGitHub 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 KasurdeandGitHub 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 KasurdeandGitHub 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
Eric AppeltandGitHub 10f9b8e655 Correct code comment in PBE to reflect current behavior (#83269)
Correct a code comment in the PlaybookExecutor class that explains
the host failure condition under which the PBE breaks out of the
run. This comment previously stated that the maximum failure
percentage was checked, but that logic has been refactored into
the linear strategy plugin.
2024-05-21 11:14:29 -04:00
Matt ClayandGitHub 560d3af097 ansible-test - Update http-test-container (#83272)
* Disable cipher suite integration tests

When the client and server both support TLS 1.3, cipher suite selection is effectively a no-op.

Python provides no way to disable TLS 1.3 cipher suites, and no way to prefer user-selected cipher suites.
Since TLS 1.3 includes a mandatory cipher suite, this makes it impossible to induce a cipher suite related error when using TLS 1.3.

* Update multipart form-data integration test

* Fix netrc integration tests

* Update HTTP test host substring

* ansible-test - Update http-test-container
2024-05-19 12:36:00 -07:00
Matt ClayandGitHub b8483adb33 ansible-test - Update pypi-test-container (#83273) 2024-05-19 12:35:44 -07:00
Matt ClayandGitHub 930f18ea65 ansible-test - Update ansible-test-utility-container (#83274) 2024-05-19 12:35:32 -07:00
a7e666829e MUNI tech writers: timeout documentation. (#83152)
* Documentation on the timeout keyword

* wording changes

* keyword description wording edit

* removed whitespace at the end of lines.

* Changed to more accurate wording

---------

Co-authored-by: Niko Mlynarčik <536617@mail.muni.cz>
2024-05-17 09:38:03 -04:00
Martin KrizekandGitHub c5114e1819 Remove deprecated VariableManager._get_delegated_vars (#83259)
Fixes #82950
2024-05-17 09:32:38 +02:00
Abhijeet KasurdeandGitHub 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
7e0a476ba2 setup module, make missing sysctl minor issue (#81297)
Signed-off-by: Brian Coca <brian.coca+git@gmail.com>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-05-15 15:19:14 -07:00
Abhijeet KasurdeandGitHub 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
Sloane HertelandGitHub 65638b4d01 remove old install info when installing collections (#83194)
* Fix cleaning up galaxy server info from previous installations

* changelog
2024-05-14 17:09:55 +02:00
Abhijeet KasurdeandGitHub 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
Martin KrizekandGitHub 8ad68f12ee Refactor yum_repository, deprecate yum only options (#83116) 2024-05-09 11:27:27 +02:00
Martin KrizekandGitHub 3c280e6c1b dnf5: implement enable_plugin and disable_plugin options (#83105)
https://github.com/rpm-software-management/dnf5/commit/80cfea9c2514704058ce501c496433fbb6e349bf
2024-05-09 10:54:40 +02:00
Abhijeet KasurdeandGitHub 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
Martin KrizekandGitHub 523745e02e dnf: integration tests cleanup (#83203)
* remove no longer needed tasks
* remove workarounds
* consolidate conditionals
* remove distros/versions from conditionals that are no longer present
  in CI
2024-05-07 08:42:55 +02:00
FlorianandGitHub 45a30ab093 package_facts: apk fix when cache is empty (#83132) 2024-05-06 22:43:28 +00:00
504bdae894 added examples for systemd service usage (#83192)
mostly how to filter/manipulate the results
---------

Co-authored-by: flowerysong <junk+github@flowerysong.com>
2024-05-06 17:53:19 -04:00
Abhijeet KasurdeandGitHub 57a8eca3af pymarkdown: update docs (#83150)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-05-06 21:52:50 +00:00
Peter WhallandGitHub 417db213c0 facts: Update RAID devices regex for FreeBSD (#82081)
Added support FreeBSD RAID devices and regex to match partitions as well as slices. 
RAID device list is taken from here: https://github.com/freebsd/freebsd-src/blob/main/usr.sbin/bsdconfig/share/device.subr
2024-05-06 13:41:37 -07:00
Brian CocaandGitHub aed8c080f6 ansible-galaxy, clarify licensing for 'init' templates and results (#83175) 2024-05-06 16:22:52 -04:00
flowerysongandGitHub f5b945bf6a ansible-doc: fix typo in output (#83205) 2024-05-06 20:04:21 +00:00