summaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Specify -O in windows ssh tests as needed for scp to work with openssh 9+ ↵Matt Martz2024-06-111-2/+19
| | | | (#83426)
* ansible-test - Prepare for Python 3.13 (#83414)Matt Clay2024-06-115-7/+9
| | | Includes an update to `coverage` and pinned Python requirements.
* Remove extraneous pylint ignore (#83257)Abhijeet Kasurde2024-06-117-26/+9
| | | | | * Pylint issue 511 is closed, remove ignore related to that. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Fix issues reported by mypy (#83413)Matt Clay2024-06-111-9/+0
|
* Fix quoting in fork_safe_stdio test (#83412)Matt Clay2024-06-111-1/+1
|
* Revert "bool filter, add booleanization strategy option (#83362)" (#83391)Sloane Hertel2024-06-061-22/+8
| | | This reverts commit 655a8ff38f83dbc248a80cb4b79f67226674c58f.
* Properly quote all needed components of shell commands (#83365)Matt Martz2024-06-066-1/+70
| | | | | * Properly quote all needed components of shell commands * Use self.quote, add new self.join
* fix any_errors_fatal tests (#83389)Sloane Hertel2024-06-062-6/+4
| | | | | | | * 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'
* bool filter, add booleanization strategy option (#83362)Brian Coca2024-06-061-8/+22
| | | | | | 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>
* facts: add facts about x86_64 flags to detect microarchitecture (#83356)Abhijeet Kasurde2024-06-043-14/+40
| | | | | Fixes: #83331 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* timeout give extra info (#83206)Brian Coca2024-06-041-0/+1
| | | 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.
* Fix Test failure with cowsay installed/present (#83347)MajesticMagikarpKing2024-06-031-2/+1
|
* powershell - Improve Add-Type tempdir handler (#83080)Jordan Borean2024-06-032-9/+77
| | | | | | 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.
* test: Cleanup facts/network/* tests (#83256)Abhijeet Kasurde2024-05-304-195/+186
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Fix task.resolved_action callbacks (#82003)Sloane Hertel2024-05-304-5/+21
| | | | | | | * 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
* file module, follow symlink when doing hardlink (#34228)odra2024-05-301-0/+45
| | | Fixes: #33911
* config, integrate dynamic galaxy servers (#83129)Brian Coca2024-05-294-6/+116
| | | Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
* apt_*: add more info message while updating apt cache (#83230)Abhijeet Kasurde2024-05-241-1/+1
| | | | | Fixes: #77941 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* ansible-test - Update http-test-container (#83272)Matt Clay2024-05-199-68/+47
| | | | | | | | | | | | | | | | * 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
* ansible-test - Update pypi-test-container (#83273)Matt Clay2024-05-191-1/+1
|
* ansible-test - Update ansible-test-utility-container (#83274)Matt Clay2024-05-191-1/+1
|
* Remove deprecated VariableManager._get_delegated_vars (#83259)Martin Krizek2024-05-171-1/+0
| | | Fixes #82950
* Warn if the binary is unavailable using get_bin_path (#83258)Abhijeet Kasurde2024-05-162-1/+20
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* setup module, make missing sysctl minor issue (#81297)Brian Coca2024-05-163-32/+26
| | | | | 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>
* remove old install info when installing collections (#83194)Sloane Hertel2024-05-141-0/+7
| | | | | * Fix cleaning up galaxy server info from previous installations * changelog
* Use inclusive word: logical (#83232)Abhijeet Kasurde2024-05-102-3/+3
| | | | | Use word 'logical' instead of non-inclusive word Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* dnf5: implement enable_plugin and disable_plugin options (#83105)Martin Krizek2024-05-091-0/+24
| | | https://github.com/rpm-software-management/dnf5/commit/80cfea9c2514704058ce501c496433fbb6e349bf
* Darwin: add unit tests for hardware fact gathering (#83212)Abhijeet Kasurde2024-05-083-0/+651
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* dnf: integration tests cleanup (#83203)Martin Krizek2024-05-073-81/+31
| | | | | | | * remove no longer needed tasks * remove workarounds * consolidate conditionals * remove distros/versions from conditionals that are no longer present in CI
* pymarkdown: update docs (#83150)Abhijeet Kasurde2024-05-063-20/+2
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* facts: Update RAID devices regex for FreeBSD (#82081)Peter Whall2024-05-063-0/+565
| | | | 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
* ansible-galaxy, clarify licensing for 'init' templates and results (#83175)Brian Coca2024-05-061-1/+4
|
* ansible-doc: fix typo in output (#83205)flowerysong2024-05-068-8/+8
|
* Multi-arch support for container test (#83196)Matt Clay2024-05-041-1/+4
|
* Build test modules for aarch64 (#83195)Matt Clay2024-05-041-1/+4
|
* display: fix log verbosity (#83179)Brian Coca2024-05-031-0/+3
| | | * display, ensure we have a logger before we log
* clean up ansible-connection (#82992)Matt Davis2024-05-027-7/+12
| | | | | | | | | | * clean up ansible-connection stuff * eliminate unnecessary usage of pty/termios * always use default pickle protocol * remove unnecessary wire hashing Co-authored-by: Kate Case <this.is@katherineca.se>
* package_facts add alias support (#83149)Brian Coca2024-05-021-17/+15
| | | | | | | * package_facts add alias support fixes #83143 Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
* Don't hardcode the dnf module, dynamically select one (#83183)Matt Martz2024-05-027-25/+61
|
* Gather sysinfo facts on s390 (#83157)Matt Martz2024-05-012-0/+264
|
* Show examples in role entrypoint argument specs. (#82671)Felix Fontein2024-05-012-0/+7
|
* Correctly treat separate paragraphs in top-level descriptions as separate ↵Felix Fontein2024-04-301-8/+10
| | | | paragraphs. (#83155)
* Add version ceiling for pypsrp (#83122)Jordan Borean2024-04-301-0/+1
| | | | | | | | | | | * Add version ceiling for pypsrp Add a version ceiling for the pypsrp requirements. This ensures that the future v1.0.0 release won't impact existing users who install the library using the version range specified. * Use constraints file * Add changelog for this change
* distro: remove pep8 ignoreAbhijeet Kasurde2024-04-251-1/+0
| | | | | | | | * Remove unnecessary pep8 from ignore.txt Fixes: #80840 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* assemble: update argument_spec with 'decrypt' optionAbhijeet Kasurde2024-04-251-1/+0
| | | | | | | | | | * 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>
* removed extra ansible_managedBrian Coca2024-04-251-1/+1
|
* Fix installing roles containing symlinks (#82911)Sloane Hertel2024-04-246-78/+40
| | | | | | | | | | | | | | | | | | | | | | | | | * Fix installing roles containing symlinks Fix sanitizing tarfile symlinks relative to the link directory instead of the archive For example: role ├── handlers │ └── utils.yml -> ../tasks/utils/suite.yml The link ../tasks/utils/suite.yml will resolve to a path outside of the link's directory, but within the role role/handlers/../tasks/utils/suite.yml the resolved path relative to the role is tasks/utils/suite.yml, but if the symlink is set to that value, tarfile would extract it from role/handlers/tasks/utils/suite.yml * Replace overly forgiving test case with tests for a symlink in a subdirectory of the archive and a symlink in the archive dir when these are not equivalent. * Build test case from role files to make it easier to add test cases Fixes #82702 Fixes #81965 Fixes #82051
* inspect components, ansible_managed templatable (#83053)Brian Coca2024-04-234-41/+52
| | | | | * inspect components, ansible_managed templatable fixes #82322
* setup_rpm_repo/create_repo: "Arch dependent binaries in noarch package" (#83108)Martin Krizek2024-04-222-6/+6
| | | | | | | This fixes "Arch dependent binaries in noarch package" error cause by including files created by make_elf function in noarch packages. While the error only manifests itself on EL 7 and 8 it is better to use files suitable for noarch packages to prevent the error potentially re-occuring in the future.
* add systemd version and features fact (#83083)Thomas Sjögren2024-04-192-0/+12
| | | | Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>