summaryrefslogtreecommitdiff
path: root/changelogs
Commit message (Collapse)AuthorAgeFilesLines
* [stable-2.11] Restrict `wheel` below v0.38.0 under Pythons < 3.7 (#79187)Sviatoslav Sydorenko2022-10-241-0/+2
| | | | | | | | | | | | | | | | | * Restrict `wheel` below v0.38.0 under Pythons < 3.7 * Add a change note for PR #79187 * Update changelogs/fragments/79187--wheel-0.38.0.yml Co-authored-by: Matt Clay <matt@mystile.com> * Use constraints file when installing wheel. Co-authored-by: Matt Clay <matt@mystile.com>. (cherry picked from commit a76bbb18a5a80cda0d9683677aa8d5cd8a2e6093) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* [stable-2.11] yum: fix parsing of check-update with subsequent empty lines ↵Martin Krizek2022-06-071-0/+2
| | | | | | | | | | | | | (#75452) Rather than adding further complexity to the regex, preprocess the output to remove any empty lines. Now the only purpose of the regex is to fix wrapped lines. Fixes #70949 (cherry picked from commit 51f2f1ac5ee1416f097587ff81b721b3ccc36971) Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
* New release v2.11.12 (#77862)v2.11.12jamesmarshall242022-05-233-3/+17
|
* New release v2.11.12rc1 (#77811)v2.11.12rc1Dimitri Savineau2022-05-163-0/+37
|
* dont rely on path to set config defs for plugins (#77659) (#77696)Brian Coca2022-05-111-0/+2
| | | (cherry picked from commit a3cc6a581ef191faf1c9ec102d1c116c4c2a8778)
* Prevent losing unsafe from lookups (#77609) (#77652)Martin Krizek2022-05-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a bug which under certain conditions results in data returned from lookups not being marked as unsafe. Each time Templar.do_template is invoked a new AnsibleContext is created and stored effectively at two places: 1) as an instance variable in templar_obj.cur_context 2) as a local variable called new_context in do_template method of Templar Due to custom functionality in Ansible's Context that allows for nested templating it is possible that during resolving variable's value template/do_template method is called recursively again, again creating a new context. At that point the problem manifests itself because as mentioned in 1) above the context is overwriten on the templar object which means that any subsequent calls to _lookup will use the new context to mark it as unsafe which is now different to the local new_context which is used for testing for unsafe property. The solution to the problem appears to be to restore the original context inside do_template and also to eliminate the local variable new_context to prevent problems in the future. It appears that we don't have a better way of storing the context other than as some form of global variable and so this appears to be the "best" solution possible at this point. Hopefully data tagging will be the solution here. For more examples see unit and integration tests included in this patch. Fixes #77535 (cherry picked from commit 3980eb8c09d170a861351f8aff4a1aa1a8cbb626)
* New release v2.11.11 (#77627)v2.11.11Christian Adams2022-04-253-3/+22
|
* ansible-test - Fix rstcheck compatibility issues.Matt Clay2022-04-191-0/+2
|
* New release v2.11.11rc1 (#77542)v2.11.11rc1jamesmarshall242022-04-183-0/+37
|
* SID - Use literal UPN value when attempting a user to SID lookup (#77334) ↵Jordan Borean2022-04-131-0/+2
| | | | | (#77347) (cherry picked from commit ff184b0815cdbf7dc222fd9d7b0cfaa93d5fe03c)
* winrm - ensure callers PATH for kinit is set (#77401) (#77402)Jordan Borean2022-04-131-0/+2
| | | | | | | | | * winrm - ensure callers PATH for kinit is set * Fix unit test expectations * Fix type annotation (cherry picked from commit 60b4200bc6fee69384da990bb7884f58577fc724)
* New release v2.11.10 (#77373)v2.11.10jamesmarshall242022-03-283-3/+17
|
* New release v2.11.10rc1 (#77328)v2.11.10rc1jamesmarshall242022-03-213-0/+51
|
* [2.11 backport] use same timeout for galaxy api interactions (#77088) (#77143)Elijah DeLee2022-03-151-0/+2
| | | | | | | | | | | | | | | | | | | * use same timeout for galaxy api interactions (#77088) Also, bump the default. A number of people have reported problems with this 20 second timeout for a couple of years on https://github.com/ansible/galaxy/issues/2302 It is mentioned in the issue that resolving dns can sometimes take up to 30 seconds, and that this timeout includes dns resolution. Includes a changelog message * fix type hint Co-authored-by: Matt Clay <matt@mystile.com> Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com> Co-authored-by: Matt Clay <matt@mystile.com>
* [2.11] Fix collection redirects for filter and test plugins (#77210) (#77228)Sloane Hertel2022-03-151-0/+2
| | | | | | | | | | | | | | * Fix collection redirects for filter and test plugins (#77210) * Fix collection redirects for jinja2 filters/tests * Handle recursive redirects Co-authored-by: Matt Martz <matt@sivel.net> (cherry picked from commit 8063643b4cec51a72377da5f3fa354d3ff9e737a) * The error message is only capitalized on 2.13. Make test more flexible. (cherry picked from commit 734777ef05b8c200f45336a8b9b41f9f9af597c1)
* [2.11] ansible-galaxy collection verify - display new files/dirs as ↵Sloane Hertel2022-03-151-0/+2
| | | | | | | | | | | modified content (#77129) * Fix 'ansible-galaxy collection verify' to report files/directories not listed in the FILES.json (cherry picked from commit a1d467dbb21e00cdb0ed38baf0e43e583185dc59) * changelog (cherry picked from commit 3d49d6f69ec1afa2234a21a1f9cd273d55cb6597)
* [stable-2.11] Use full python package for ansiballz cache filenames (#77090) ↵Matt Martz2022-03-151-0/+5
| | | | | | | | | | | | | | (#77126) * [stable-2.11] Use full python package for ansiballz cache filenames (#77090) * Use full python package for ansiballz cache filenames * Be a little more explicit about test goals (cherry picked from commit 8cbe143) Co-authored-by: Matt Martz <matt@sivel.net> * linting
* ansible-test - Fix cloud plugin traceback.Matt Clay2022-03-111-0/+2
|
* New release v2.11.9 (#77157)v2.11.9Christian Adams2022-02-283-3/+17
|
* New release v2.11.9rc1 (#77123)v2.11.9rc1Christian Adams2022-02-233-0/+88
| | | Signed-off-by: Christian M. Adams <chadams@redhat.com>
* [stable-2.11] ansible-test - Use `--forked` instead of `--boxed`Matt Clay2022-02-221-0/+2
| | | | | | | The `--boxed` option is deprecated.. (cherry picked from commit eaeec8a65c4bf9066c5a2c180ec11872f84e6b67) Co-authored-by: Matt Clay <matt@mystile.com>
* ansible-test - Omit pyopenssl for sanity tests.Matt Clay2022-02-221-1/+1
|
* ansible-test - Add MarkupSafe constraint.Matt Clay2022-02-211-0/+3
| | | | | | | | Installation of MarkupSafe 2.1.0 and later require setuptools 39.2 or later, or a recent version of pip which supports installation using a wheel. Some systems will not have new enough versions of pip and/or setuptools, especially virtual environments -- including those created by ansible-test.
* [stable-2.11] ansible-test - Use quay.io containers in plugins..Matt Clay2022-02-171-0/+3
| | | | | | (cherry picked from commit c27fd777f4d82fc1eefaa20114cf1f76b7ce1bee) Co-authored-by: Matt Clay <matt@mystile.com>
* ssh connection: use 'correct' host in all cases (#76017) (#76969)Brian Coca2022-02-161-0/+2
| | | | | | | | | ssh plugin, use 'correct' information source in all cases * still fallback to pc * added inventory to new test * undef var can still show as parser error on pc now task_exectuer has a more accurate error handling (cherry picked from commit be19863e44cc6b78706147b25489a73d7c8fbcb5)
* gather_facts sees collection networking connection (#76954) (#76964)Brian Coca2022-02-161-0/+2
| | | | | | needed to properly propagate some arguments by convention: subset, filter Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> (cherry picked from commit 5bddecb048aae0a7fc84e38e086ac90445c4edb4)
* fix block var inheritance (#75287) (#76897)Brian Coca2022-02-161-0/+2
| | | | | | | * updated tests to conform to new block inheritance Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com> Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> (cherry picked from commit b1d6750e8bbdf507a4af24a4319b78b7287e233c)
* clean_facts only show variable name (#76974) (#76985)Brian Coca2022-02-161-0/+2
| | | (cherry picked from commit 47faa6e206ccd697b4050062147a5d3242435597)
* ansible-test - Install pyopenssl w/ cryptography.Matt Clay2022-02-021-0/+4
| | | | ci_complete
* [stable-2.11] ansible-test - Use relative paths in junit output. (#76909)Matt Clay2022-02-022-0/+8
| | | | | | | | | | | | | * [stable-2.11] ansible-test - Use relative paths in junit output. (#76871) * ansible-test - Use relative paths in junit output. * ansible-test - Handle out-of-tree JUnit paths. * Also fix a traceback in the junit callback during automatic fact gathering. (cherry picked from commit fbb5d56bd274c44b193cb95f0230b9352f62aab2) * Fix task path unicode error in junit callback. (cherry picked from commit 41db6d8d35900d425df3228406db3fec61ab2269)
* New release v2.11.8 (#76891)v2.11.8Dimitri Savineau2022-01-313-3/+17
|
* New release v2.11.8rc1 (#76830)v2.11.8rc1Dimitri Savineau2022-01-243-0/+70
|
* service_facts, now more accurate on systemd (#75326) (#76018)Brian Coca2022-01-201-0/+2
| | | | | * service_facts, now more accurate on systemd (cherry picked from commit 82bab063e7c60b77596c5c87258d5c3398b5efc2)
* bacwards compat doc frag (#75819)Brian Coca2022-01-191-0/+2
|
* [stable-2.11] Compare FQCN also in lockstep logic. Fixes #76782 (#76787) ↵Matt Martz2022-01-191-0/+4
| | | | | | | (#76797) (cherry picked from commit 29bdb8b) Co-authored-by: Matt Martz <matt@sivel.net>
* include_vars initialize failed (#76754) (#76785)Brian Coca2022-01-181-0/+2
| | | | | | | | | | * include_vars initialize failed if source dir is given, but not present and traversal is empty you can end up trying to access failed w/o it ever being defined. also future proof for more corner cases in decision tree (cherry picked from commit 89c884e2a2bd124b49bf9419f053f659a7d1c554)
* ssh connection avoid parsing own debug (#76732) (#76756)Brian Coca2022-01-181-0/+2
| | | | | | | | | | | | | | * ssh connection avoid parsiing own debug (#76732) - Avoids false positives on become strings being echoed back by ssh cli itself - added test for debug lines - also simplified some of existing test code (cherry picked from commit 0ff80a15ba40c2aff3b96c1152f19c97a92d3c97) * unicoode * dont make em ascii
* ssh connection, handle 'fun' control paths (#76424) (#76694)Brian Coca2022-01-181-0/+2
| | | | | | * handle 'fun' control paths by quoting the option when passed to ssh cli Co-authored-by: Matt Clay <matt@mystile.com> (cherry picked from commit aa022dba2d141cbd3b862767400ba4f714a9edd1)
* galaxy build - ignore existing MANIFEST and FILES (#76479) (#76499)Jordan Borean2022-01-181-0/+4
| | | (cherry picked from commit 8482ee4e9a992abe998c7f885ef5e873f9ef5894)
* Fix zip content filtering in unarchive module (#76069) (#76420)Tadej Borovšak2022-01-181-0/+3
| | | | | | | | | | When we introduced an include parameter to the unarchive module, we inadvertenly flipped the exclusion logic. This flip meant that the unarchive module started rejecting files that should be extracted. This commit flips the bad logic and adds some tests that will make sure things do not go bad again. (cherry picked from commit f92830d16e2fcca394a69b13e1017350e07152a3)
* [stable-2.11] ansible-test - Fix traceback in validate-modules test.Matt Clay2021-12-071-0/+2
| | | | | | (cherry picked from commit 41ee4a5b128542252dfd4763c46e0399334270a5) Co-authored-by: Matt Clay <matt@mystile.com>
* New release v2.11.7 (#76476)v2.11.7jamesmarshall242021-12-063-3/+17
|
* New release v2.11.7rc1 (#76391)v2.11.7rc1Dimitri Savineau2021-11-293-0/+49
|
* set host_key_checking check to False, rather than if not (which captures ↵Vlad Mencl2021-11-241-0/+2
| | | | | | | | | | False and None) (#75168) (#76206) * set host_key_checking check to False, rather than if not (which captures False and None) * add host_key_checking default to ssh.py / update documentation (cherry picked from commit d527be8a524ff0f6bd23dfc48c6b511b9d14ddf8) Co-authored-by: James Spurin <james@spurin.com>
* LinkUtil - ignore LIB env var (#76184) (#76203)Jordan Borean2021-11-241-0/+2
| | | (cherry picked from commit db2aee558bd58269b380c6643fb87bee2c00ee47)
* Skip recursive suboption validation if sub_parameters is not a dict (#75635) ↵Sloane Hertel2021-11-241-0/+2
| | | | | | | | | (#76189) * Skip recursive suboption validation if sub_parameters is not a dictionary * Ensure sub parameter elements is a sequence to prevent iterating over string characters and causing duplicate error messages for the same param (cherry picked from commit b5ed41edb34a387c560e172ee2928cc8ac9b4959)
* 2.11 `action_groups` normalization (#76171)Matt Martz2021-11-241-0/+4
| | | | | | | | | * Have tests use shortname in action_groups to uncover an issue * Alias shortname from action_groups to FQCR of owning collection * Add clog frag * Don't overwrite
* [bp-2.11]: hostname: update example with 'use' (#75990)Rémi REY2021-10-271-0/+2
| | | | | | | | | | | * hostname: Change "strategy" to "use" (#74815) Fixed typo: 'strategy' to 'use' (cherry picked from commit 63701b1b6b18a0d396c8b96debebf4de1cd20098) * Add changelog fragment for backport of #74815 Co-authored-by: bdouxx <bdouxx-git@yahoo.fr>
* New release v2.11.6 (#75999)v2.11.6Christian Adams2021-10-113-3/+22
|
* ansible-test pslint - fix warning with nested objects (#75792)Jordan Borean2021-10-071-0/+2
| | | | | | * ansible-test pslint - fix warning with nested objects (cherry picked from commit 7e19957afa02245f9ff791c7b6ad17700db4385b)