summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Typo fixes and other bits and bobs (#83672)Lee Garrett2024-07-27117-132/+132
| | | Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
* Set LANGUAGE env variable is set to a non-English locale (#83671)Abhijeet Kasurde2024-07-275-3/+7
| | | | | Fixes: #83608 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Remove explicit shell environment docs (#83649)Jordan Borean2024-07-264-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.
* Replace random with secrets (#83668)Abhijeet Kasurde2024-07-2513-23/+26
| | | | | Use secrets library instead of random. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* apt: Report change when package is removed (#83547)Abhijeet Kasurde2024-07-254-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>
* increase timeout downloading galaxy role URLs (#83562)Sloane Hertel2024-07-232-1/+5
| | | | * Update the timeout to download role archive to 60 seconds to match collections TODO: in future make a configurable 'artifact download timeout'
* display: warn user about empty log path value (#83381)Abhijeet Kasurde2024-07-234-10/+34
| | | | | Fixes: #79959 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Added info about MacOS targets for cron module (#83620)TeekWan2024-07-231-0/+3
| | | Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
* ansible-test - Remove VyOS tests and support files (#83650)Matt Clay2024-07-2269-6016/+2
| | | The VyOS remote image required for running the tests is no longer functional.
* remove ignore clauses for module find (#83575)Alexei Znamensky2024-07-224-5/+34
| | | | add testcase for expanding home dir names
* docs adjustments (batch 1) (#83341)Alexei Znamensky2024-07-214-36/+36
|
* env: update examples for setting default values to variable (#83370)krescent2024-07-211-9/+8
|
* Use build instead of pep517 for integration testMatt Clay2024-07-192-4/+3
|
* Revert "🧪 Use `setuptools [core]` @ collections_runtime_pythonpath (#83627)"Matt Clay2024-07-191-1/+2
| | | | This reverts commit 0d5460df16af2c8e082796c6a46cb075060f74c9.
* 🧪 Use `setuptools [core]` @ collections_runtime_pythonpath (#83627)Sviatoslav Sydorenko (Святослав Сидоренко)2024-07-191-2/+1
|
* remove ignore clauses for module lineinfile (#83595)Alexei Znamensky2024-07-182-6/+1
|
* debconf: handle boolean value representation consistently (#83601)Peter A. Bigot2024-07-183-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>
* replace - fix documentation and remove ignore clauses (#83574)Alexei Znamensky2024-07-182-6/+1
|
* ansible-test - Improve unknown env error message (#83610)Matt Clay2024-07-152-1/+6
|
* Update any.yml (#83588)Alex Barth2024-07-151-2/+2
| | | | * fixed typo in description * fixed comment in examples
* module compression is now again settable via var (#83573)Brian Coca2024-07-122-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>
* remove ignore clauses for module blockinfile (#83577)Alexei Znamensky2024-07-112-6/+1
|
* Ensure that we are handling DownloadError properly in the dnf module (#83543)rebtoor2024-07-102-4/+4
| | | Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
* dnf: follow-up on is_newer_installed arches fix (#83556)Martin Krizek2024-07-092-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>
* fix misc. documentation typos and formatting for modules starting with u-y ↵Alexei Znamensky2024-07-095-31/+32
| | | | (#83422)
* fix misc. documentation typos and formatting for modules starting with s ↵Alexei Znamensky2024-07-097-21/+21
| | | | (#83420)
* ansible-test - Update nios-test-container to 4.0.0 (#83539)Matt Clay2024-07-092-1/+3
|
* ansible-test - Update base/default containers (#83553)Matt Clay2024-07-091-3/+3
|
* Quality-of-life improvements for release tool (#83551)Matt Clay2024-07-091-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
* review modules docs - batch(fragments) (#83431)Alexei Znamensky2024-07-0911-44/+43
| | | Co-authored-by: flowerysong <junk+github@flowerysong.com>
* update distro version to 1.9.0 (#83540)Dhanesh R2024-07-093-5/+11
|
* known_hosts: don't modify `AnsibleModule.params` (#83517)flowerysong2024-07-092-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.
* Add dinit as a service_mgr (#83489)Jan Christian Grünhage2024-07-092-0/+5
|
* Add SL-Micro to Suse family list (#83541)Harshvardhan Sharma2024-07-083-1/+26
|
* Fix Creating user directory using tilde always reports "changed" (#83113)MajesticMagikarpKing2024-07-073-2/+30
| | | | Fixes: #82490
* validate-modules: reject option/alias names equal up to casing belonging to ↵Felix Fontein2024-07-064-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>
* package_facts: fix warning logic (#83520)flowerysong2024-07-059-74/+132
| | | | | * package_facts: fix warning logic * Refactor so that warnings can work
* linear: fix included handlers executing in lockstep (#83209)Martin Krizek2024-07-046-45/+43
| | | Fixes #83019
* Fix incorrect rc when executing end_host in rescue (#83522)Martin Krizek2024-07-045-4/+31
| | | Fixes #83447
* hostvars templating fix, override serialization (#83509)Brian Coca2024-07-023-1/+16
| | | | fixes #82872 nicer implementation courtesy of nitzmahone
* Fix require_only_one. (#83511)Felix Fontein2024-07-021-1/+1
|
* actually show plugin config warnings/deprecations (#82593)Brian Coca2024-07-0217-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>
* Replace references to archived ansible/ansible-examples repository (#83500)Tiago R. Cunha2024-07-011-20/+20
| | | | | | | * Replace references to archived ansible/ansible-examples repository * Update examples to reference ansible repository * Include HTTPS among SSH references in examples
* Fix tb for when env var contains % (#83499)Martin Krizek2024-06-283-1/+8
| | | | | Fixes #83498 Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
* dnf: remove legacy code (#83298)Martin Krizek2024-06-282-77/+23
|
* facts/hardware: Fix support_discard block device fact (#83480)Benoît Knecht2024-06-282-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>
* dnf - arches must be the same in the is_newer_installed check (#83417)Martin Krizek2024-06-283-1/+23
| | | Fixes #83406
* Fix simmilar branches (#83497)sminux2024-06-271-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>
* dnf, dnf5: fix installing via wildcard (#83481)Martin Krizek2024-06-264-7/+49
| | | Fixes #83373
* Enable Ubuntu 24.04 group 6 in CI (#83466)Matt Clay2024-06-253-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