summaryrefslogtreecommitdiffstats
path: root/pyproject.toml (unfollow)
Commit message (Collapse)AuthorFilesLines
6 daysdebug: hide loop variables while using var (#84597)Abhijeet Kasurde4-7/+7
Fixes: #65856 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 daysapt_key: fix module names in docs (#84588)Abhijeet Kasurde1-2/+2
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 daysuri: Handle HTTP exception raised (#84015)Abhijeet Kasurde4-2/+41
* Handle HTTP exceptions raised when reading the content such as IncompleteRead Fixes: #83794 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 daysgenerator: add support for extra vars usage (#84544)Abhijeet Kasurde7-1/+85
* generator: add support for extra vars usage Fixes: #83270 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * CI green Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Review requests Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Review requests II Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> --------- Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
9 daysApt key bye (#84555)Brian Coca4-14/+35
* apt-key module updates due to debian removal Still kept for now for backwards compat, but removing from testing when not present And adding more explicit mesasges to errors to point to new module * added docs and error msg * clog * aslkdfj * no docs to document doc changes * also add warning to apt_repository * clog on apt_repo too * fix string concat * Apply suggestions from code review Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> --------- Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
9 daysUpdate win_dirname and win_basename docs (#84587)Abhijeet Kasurde2-1/+11
* Updated docs and examples for win_dirname and win_basename for UNC path Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
9 dayscache: deprecated API first_order_merge (#84568)Abhijeet Kasurde2-0/+7
* deprecated legacy method first_order_merge Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
9 daysstdout callback first comment (#84533)Brian Coca1-0/+1
so we know its a rule, not just implementation accident
9 daystargets/handlers: fix incorrect test cmd (#84567)Martin Krizek1-3/+1
10 daysAnsible.Basic - Fix required_if check (#84562)Jordan Borean3-1/+32
Fixes the Ansible.Basic `required_if` check when the option to check is either unset or explicitly set to null.
10 daysssh - Improve CLIXML stderr parsing (#84569)Jordan Borean4-7/+153
Improves the logic for parsing CLIXML values in the stderr returned by SSH. This fixes encoding problems by having a fallback in case the output is not valid UTF-8. It also can now extract embedded CLIXML sequences in all of stderr rather than just at the start.
12 daysreserved vars, avoid gather_subset (#84575)Brian Coca2-10/+8
13 daysfix template (#84563)Brian Coca4-5/+17
also fix gather_subset warning and add some comments/notes --------- Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2025-01-15filters/flatten: fix input documentation (#84477)Max Gautier1-2/+3
Flatten input is a list, not a dictionary.
2025-01-14host_group_vars - remove unnecessary os.path.join cache (#84549)Sloane Hertel1-6/+1
2025-01-14user: Fix homedir permissions when UMASK is unset in /etc/login.defsLee Garrett3-10/+26
When a user doesn't exist and user module is used to create the user and the homedir, adduser is called which parses HOME_MODE from /etc/login.defs, and when not set calculates the mode from UMASK from the same file. When a user already exists without homedir, and the user module is used to add a home dir, it incorrectly ignores HOME_MODE, resulting in a world-readable home dir when UMASK is not set. This is for example the case in Debian trixie and later, and likely Ubuntu 25.04 and later. Signed-off-by: Lee Garrett <lgarrett@rocketjump.eu> Co-authored-by: Brian Coca <bcoca@users.noreply.github.com> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2025-01-14Fix unit and integration tests (#84554)Matt Clay2-3/+3
This is a follow-up to https://github.com/ansible/ansible/pull/84473
2025-01-14ansible-test - Use urllib intead of curl (#84551)Matt Clay2-57/+44
Also added automatic retries on HTTP request exceptions, since all currently implemented methods (GET/PUT/DELETE) are idempotent.
2025-01-14fix incongruent ansible-vault cli options (#84494)Brian Coca3-4/+20
prompt now only errors if stdin is specifically triggered and not due to lack of other args fixes #84489 --------- Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2025-01-14ansible-vault integration test fix (fixes: #83837) (#84486)Lee Garrett1-10/+13
Correct the test that expects an error when using ansible-vault to write against a non-writeable dir. Skip the test as root, as root can always write. Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
2025-01-14get_url: add support for BSD-style digest (#84485)Abhijeet Kasurde4-21/+104
* Added support for BSD-style digest file to test checksum of downloaded file. Fixes: #84476 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2025-01-14Allows iptables chain creation with wait parameter (#84491)Kristopher Newsome3-2/+14
* Allows iptables chain creation with wait parameter Fixes #84490 * Add the changelog fragment for 84490
2025-01-14User: Update prompt for SSH key passphrase prompt (#84521)Abhijeet Kasurde2-3/+13
* update prompt for SSH key passphrase prompt * introduce timeout in SSH key passphrase interaction Fixes: #84484 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2025-01-14fix[doc.py]: path will be undefined (#84464)Harilou2-1/+4
* fix[doc.py]: path will be undefined and a direct reference will throw an UnboundLocalError. If none of the files in files exists, path will be undefined and a direct reference will throw an UnboundLocalError. Repair function file parameter type annotation is inaccurate * Update changelogs/fragments/fix-cli-doc-path_undefined.yaml Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> --------- Co-authored-by: Brian Coca <bcoca@users.noreply.github.com> Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2025-01-14`with_dict` type error include value in error message (#84473)simonLeary422-1/+3
* with_dict better error message * include type in error message * changelog fragment * Update lib/ansible/plugins/lookup/dict.py Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> * specific wording --------- Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2025-01-14.github: simplify PR templates (#84536)Martin Krizek5-58/+5
It is rare that we need to provide information like "before and after the change". In majority of cases we just ignore "Additional information" when submitting PRs. We can just put the needed information into the summary if needed and remove the section from the template, simplifying it.
2025-01-13Enforce FQCNs in seealso plugin/module entries. (#84325)Felix Fontein2-2/+15
2025-01-13Update ticketing stubs (#84535)Abhijeet Kasurde10-28/+29
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2025-01-13Bump acme test container to 2.3.0 (#84547)Felix Fontein2-1/+5
2025-01-13host_group_vars - fix Python API traceback caused by undefined 'key' ↵xzeck2-9/+11
variable (#84488) Fixes: Traceback (most recent call last): File "/home/shertel/ansible/lib/ansible/plugins/vars/host_group_vars.py", line 139, in get_vars FOUND[key] = found_files = loader.find_vars_files(opath, entity_name) ^^^ UnboundLocalError: cannot access local variable 'key' where it is not associated with a value During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/shertel/ansible/lib/ansible/plugins/vars/host_group_vars.py", line 151, in get_vars raise AnsibleParserError(to_native(e)) ansible.errors.AnsibleParserError: cannot access local variable 'key' where it is not associated with a value
2025-01-11ansible-test - Update utility containers (#84545)Matt Clay4-3/+6
2025-01-10fix warnings about reserved variable names to cover all sources (#84432)Brian Coca12-12/+69
Also remove redundant check from tqm Now covers module output (set_fact/include_vars) Includes play objects at any stage (tasks that error were not covered) Added tests, moved them to role structure
2025-01-10Use ECR Public for container test (#84537)Matt Clay1-1/+1
2025-01-09constructed, let users know some limitations (#84510)Brian Coca1-0/+4
* constructed, let users know some limitations reasons https://forum.ansible.com/t/debugging-constructed-inventory-constructing-group-from-values-of-host-variables/39443 * fix indent * Update lib/ansible/plugins/doc_fragments/constructed.py Co-authored-by: Felix Fontein <felix@fontein.de> * updated as per fb --------- Co-authored-by: Felix Fontein <felix@fontein.de>
2025-01-08FIX get_options function for CallbackBase (#84496)simonLeary423-2/+9
2025-01-08📝 Update the outdated WGs+community links in GH issues (#84523)🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)1-2/+2
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2025-01-08📝 Drop drop-down default note from issue forms (#84524)🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)3-48/+3
Co-authored-by: flowerysong <junk+github@flowerysong.com>
2025-01-08ansible-test - Fix FreeBSD instance CA certs (#84529)Matt Clay2-0/+3
Some versions and architectures come with `ca_root_nss` pre-installed. However, at least FreeBSD 13.4 on aarch64 does not. This change ensures the certificates will always be installed.
2025-01-08ansible-test - Replace FreeBSD 14.1 with 14.2 (#84527)Matt Clay5-15/+10
* ansible-test - Replace FreeBSD 14.1 with 14.2 * Remove cron faketime testing from FreeBSD
2025-01-08ansible-test - Replace RHEL 9.4 with 9.5 (#84526)Matt Clay3-9/+10
2025-01-07ansible-test - Replace Alpine 3.20 with 3.21 (#84525)Matt Clay5-8/+10
2025-01-07ansible-test - Replace Fedora 40 with 41 (#84281)Matt Clay12-73/+60
* ansible-test - Replace Fedora 40 with 41 Also update other distro containers to remove unnecessary packages: * apache2 * subversion * ruby * Fix subversion test on Ubuntu Also remove obsolete vars files from subversion test. * Skip dnf test on Fedora 41+ The dnf5 test is all that is needed. * Support dnf5 for the package test * Extend unix-chkpwd work-around for Fedora
2025-01-07Add Keycloak service account auth capability to ansible-galaxy (#83145)Matt Martz4-21/+39
2025-01-07Fix uri integration test on Python 3.13 (#84518)Matt Clay1-20/+85
2025-01-07ansible-test - Update nios-test-container to 7.0.0 (#84517)Matt Clay2-2/+2
2025-01-03Fix result_pickle_error integration test (#84506)Matt Clay2-3/+7
The test has been updated to use a custom type which does not support pickling, instead of relying on Jinja's `Undefined` type. As of Jinja 3.1.5 that type now supports pickle, which breaks the original implementation of the test.
2025-01-03test: Update regex for required and default in FieldAttributes (#84209)Abhijeet Kasurde2-11/+16
Fixes: #61460 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2024-12-30Added docstrings to V2 methods in the CallbackBase Class (4 & 5 of 27) (#83507)Rob Garcia1-27/+51
* Added docstrings to V2 methods in the CallbackBase Class (4 & 5 of 27) * Made corrections as requested by webknjaz. * Cleaned up whitespace issues. * Corrections to customization note for review by webknjaz. * Added rtype to return in docstrings. * Simplified docstrings. Co-authored-by: Brian Coca <bcoca@users.noreply.github.com> Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
2024-12-17Add documentation for non-numeric cron scheduling values (#84396)M Norrby1-3/+9
- Document vixie cron compatible non-numeric values - State which parameters cannot be used together with special_time
2024-12-17gather_facts, fix 'smart' handling with network os and 'setup' (#84425)Brian Coca3-5/+39
gather_facts, fix network_os and smart logic and defaults setup will be default for smart only if network_os is not set, now you get warnings and errors when missing a valid facts module for a network os Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>