summaryrefslogtreecommitdiffstats
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-07-27Typo fixes and other bits and bobs (#83672)Lee Garrett77-85/+85
Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
2024-07-27Set LANGUAGE env variable is set to a non-English locale (#83671)Abhijeet Kasurde5-3/+7
Fixes: #83608 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-07-26Remove explicit shell environment docs (#83649)Jordan Borean4-29/+7
Removes the docs for the environment keyword in the shell base plugins as they are a no-op in the plugins themselves. The environment value is provided by the action base which gets it from the action base on the task.environment value. This should avoid confusion around how its being set and removes some code that is not used at all.
2024-07-25Replace random with secrets (#83668)Abhijeet Kasurde13-23/+26
Use secrets library instead of random. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-07-25apt: Report change when package is removed (#83547)Abhijeet Kasurde4-2/+84
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-23increase timeout downloading galaxy role URLs (#83562)Sloane Hertel2-1/+5
* Update the timeout to download role archive to 60 seconds to match collections TODO: in future make a configurable 'artifact download timeout'
2024-07-23display: warn user about empty log path value (#83381)Abhijeet Kasurde4-10/+34
Fixes: #79959 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-07-23Added info about MacOS targets for cron module (#83620)TeekWan1-0/+3
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-07-22ansible-test - Remove VyOS tests and support files (#83650)Matt Clay69-6016/+2
The VyOS remote image required for running the tests is no longer functional.
2024-07-22remove ignore clauses for module find (#83575)Alexei Znamensky4-5/+34
add testcase for expanding home dir names
2024-07-21docs adjustments (batch 1) (#83341)Alexei Znamensky4-36/+36
2024-07-21env: update examples for setting default values to variable (#83370)krescent1-9/+8
2024-07-19Use build instead of pep517 for integration testMatt Clay2-4/+3
2024-07-19Revert "🧪 Use `setuptools [core]` @ collections_runtime_pythonpath (#83627)"Matt Clay1-1/+2
This reverts commit 0d5460df16af2c8e082796c6a46cb075060f74c9.
2024-07-19🧪 Use `setuptools [core]` @ collections_runtime_pythonpath (#83627)Sviatoslav Sydorenko (Святослав Сидоренко)1-2/+1
2024-07-18remove ignore clauses for module lineinfile (#83595)Alexei Znamensky2-6/+1
2024-07-18debconf: handle boolean value representation consistently (#83601)Peter A. Bigot3-5/+34
* lift code that normalizes value type for boolean vtype to cover both branches of conditional. * remove obsolete and incomplete conversion of type in set_selection. Fixes: #83594 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2024-07-18replace - fix documentation and remove ignore clauses (#83574)Alexei Znamensky2-6/+1
2024-07-15ansible-test - Improve unknown env error message (#83610)Matt Clay2-1/+6
2024-07-15Update any.yml (#83588)Alex Barth1-2/+2
* fixed typo in description * fixed comment in examples
2024-07-12module compression is now again settable via var (#83573)Brian Coca2-2/+4
Previous change overlooked 'uncommenting' the variable entry as a way to update this to keep the functionality. Co-authored-by: Glandos <bugs-github@antipoul.fr> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-07-11remove ignore clauses for module blockinfile (#83577)Alexei Znamensky2-6/+1
2024-07-10Ensure that we are handling DownloadError properly in the dnf module (#83543)rebtoor2-4/+4
Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
2024-07-09dnf: follow-up on is_newer_installed arches fix (#83556)Martin Krizek2-8/+52
* dnf: follow-up on is_newer_installed arches fix * fix for the non package object case * prevent early bailout in dnf _is_newer_version_installed * non-installed available arches would fail out of the check early --------- Co-authored-by: Matt Davis <nitzmahone@redhat.com>
2024-07-09fix misc. documentation typos and formatting for modules starting with u-y ↵Alexei Znamensky5-31/+32
(#83422)
2024-07-09fix misc. documentation typos and formatting for modules starting with s ↵Alexei Znamensky7-21/+21
(#83420)
2024-07-09ansible-test - Update nios-test-container to 4.0.0 (#83539)Matt Clay2-1/+3
2024-07-09ansible-test - Update base/default containers (#83553)Matt Clay1-3/+3
2024-07-09Quality-of-life improvements for release tool (#83551)Matt Clay1-2/+7
* Quality-of-life improvements for release tool - Default devel releases to b1 - Default non-devel releases to rc1 - Default to release announcement to console - Avoid auto-links in GH release annoucements for file sizes
2024-07-09review modules docs - batch(fragments) (#83431)Alexei Znamensky11-44/+43
Co-authored-by: flowerysong <junk+github@flowerysong.com>
2024-07-09update distro version to 1.9.0 (#83540)Dhanesh R3-5/+11
2024-07-09known_hosts: don't modify `AnsibleModule.params` (#83517)flowerysong2-9/+14
Using this dictionary to store the return values results in the return values showing up in the returned `invocation['module_args']`, which is confusing. It also causes all module arguments to be returned, which is preserved by this change but should ideally be removed in the future.
2024-07-09Add dinit as a service_mgr (#83489)Jan Christian Grünhage2-0/+5
2024-07-08Add SL-Micro to Suse family list (#83541)Harshvardhan Sharma3-1/+26
2024-07-07Fix Creating user directory using tilde always reports "changed" (#83113)MajesticMagikarpKing3-2/+30
Fixes: #82490
2024-07-06validate-modules: reject option/alias names equal up to casing belonging to ↵Felix Fontein4-0/+92
different options (#83530) * Reject option/alias names equal up to casing belonging to different options. * Update test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/main.py Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2024-07-05package_facts: fix warning logic (#83520)flowerysong9-74/+132
* package_facts: fix warning logic * Refactor so that warnings can work
2024-07-04linear: fix included handlers executing in lockstep (#83209)Martin Krizek6-45/+43
Fixes #83019
2024-07-04Fix incorrect rc when executing end_host in rescue (#83522)Martin Krizek5-4/+31
Fixes #83447
2024-07-02hostvars templating fix, override serialization (#83509)Brian Coca3-1/+16
fixes #82872 nicer implementation courtesy of nitzmahone
2024-07-02Fix require_only_one. (#83511)Felix Fontein1-1/+1
2024-07-02actually show plugin config warnings/deprecations (#82593)Brian Coca17-23/+401
previouslly we recorded but did not show to avoid spam since we could not dedup from forks, that was already fixed in another PR so now we can show/display them. Also: * funcitonalize deprecation msg construct from docs * reuse formatting func in cli * normalize alternatives: most of the code used intended plural but some and most data/tests used the singular * update schemas and tests Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
2024-07-01Replace references to archived ansible/ansible-examples repository (#83500)Tiago R. Cunha1-20/+20
* Replace references to archived ansible/ansible-examples repository * Update examples to reference ansible repository * Include HTTPS among SSH references in examples
2024-06-28Fix tb for when env var contains % (#83499)Martin Krizek3-1/+8
Fixes #83498 Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2024-06-28dnf: remove legacy code (#83298)Martin Krizek2-77/+23
2024-06-28facts/hardware: Fix support_discard block device fact (#83480)Benoît Knecht2-4/+24
Previously, `support_discard` simply returned the value of `/sys/block/{device}/queue/discard_granularity`. When its value is `0`, then the block device doesn't support discards; _however_, it being greater than zero doesn't necessarily mean that the block device _does_ support discards. But another indication that a block device doesn't support discards is `/sys/block/{device}/queue/discard_max_hw_bytes` being equal to `0` (with the same caveat as above). So if either of those are `0`, set `support_discard` to zero, otherwise set it to the value of `discard_granularity` for backwards compatibility. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2024-06-28dnf - arches must be the same in the is_newer_installed check (#83417)Martin Krizek3-1/+23
Fixes #83406
2024-06-27Fix simmilar branches (#83497)sminux1-2/+0
Identical branches in conditional node: 'elif name != permanent_hostname' and 'else'. First bruch is not nessesary Co-authored-by: mar.s <marchenkov.s.d@gmail.com>
2024-06-26dnf, dnf5: fix installing via wildcard (#83481)Martin Krizek4-7/+49
Fixes #83373
2024-06-25Enable Ubuntu 24.04 group 6 in CI (#83466)Matt Clay3-5/+30
* Enable Ubuntu 24.04 group 6 in CI * Disable rootfull Podman on Ubuntu * Disable unix-chkpwd AppArmor profile on Ubuntu for Fedora 40 tests * Document AppArmor and rootfull issues