Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-11EOL 2.11 docs (#79355)stable-2.11Sandra McCann
2022-11-07Remove scheduled CI runs.Matt Clay
The ansible-core 2.11 release has reached EOL with the release of ansible-core 2.14.
2022-11-04[2.11] Log `runme.sh` execution in integration tests (#79285)Sviatoslav Sydorenko
* Log `runme.sh` execution in integration tests (#79263) * Log `runme.sh` execution in integration tests This patch adds `set -x` where it's missing in the integration tests. It also enables `pipefail` in `runme.sh` scripts that use pipes. * Add a change note for PR #79263 (cherry picked from commit 6674c43edd203d1241507c4d857f555a7c844c18) * Delete a bad PR #79263 change note (cherry picked from commit 9cfb3f73e8d7f910e226de3aebe6f9b9b18327ec)
2022-10-25[stable-2.11] Restrict `wheel` below v0.38.0 under Pythons < 3.7 (#79187)Sviatoslav Sydorenko
* 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>
2022-09-22[stable-2.11] Don't request repo updates when only testing modes (#78843) ↵Matt Martz
(#78852) (cherry picked from commit 2542048) Co-authored-by: Matt Martz <matt@sivel.net>
2022-08-30[stable-2.11] Filter AWS test AMI selection on any Fedora-Cloud-Base image ↵Matt Martz
(#78669) (#78671) (cherry picked from commit 046c59d) Co-authored-by: Matt Martz <matt@sivel.net>
2022-08-30Fail fast in stuck `ansible-galaxy-collection` (#78629)Sviatoslav Sydorenko
This specific integration test gets stuck periodically causing the Galaxy jobs to be killed on timeout wasting an hour of runtime. The module that gets stuck waiting on Pulp is an in-test one, called `setup_collections`. When it works, the task is complete in around 70 seconds but when it doesn't, it just freezes the whole play. This patch attempts to make it fail faster by putting a reasonable timeout value of 2 minutes. (cherry picked from commit f1c56e988dbbb769b34a3c80baa40c916b4d0c88)
2022-08-30Fix pytest collection during test_host partial run (#78596)Sviatoslav Sydorenko
Sometimes pytest errors out with an `ImportError` during its tests collection stage when a Python package/directory containing the test module does not have an `__init__.py` in it. This is being observed under Python 3.9 and higher. The patch provides a workaround for this problem but does not address the root cause which is currently unknown. Ref: https://github.com/ansible/ansible/pull/78585#issuecomment-1220885431 (cherry picked from commit beb70daf14bc14acad076b34dca39a3ca6b633bb)
2022-08-25Skip paramiko test on failing platforms. (#78642)Matt Clay
The paramiko install fails due to the new bcrypt 4.0.0 release. The test is being skipped on the affected platforms since ansible-core 2.11 will reach end-of-life in November.
2022-08-23[stable-2.11] Fix file integration test chattr/lsattr check. (#78614) (#78620)Matt Clay
On BusyBox systems such as Alpine, chattr on a tmpfs fails with a status of 0 and output only on stderr. This change updates the test to not assume output on stdout. (cherry picked from commit 2e536c0afb9008884a0f12e8e650541e0ead76c9)
2022-08-19Fix version switcher for Japanese docs (#78545)Sandra McCann
* Fix version switcher for Japanese docs (#78432) (cherry picked from commit 660aceaa777b8847648908e8c978a0518f44cef4) * update version to match branch * fix merge change
2022-07-20[2.11-only] Prepare Alpine signing keys for installs from edge (#78311)Sviatoslav Sydorenko
* Add a note on installing faketime on Alpine in CI (cherry picked from commit d7e3c765be89ae3d155c00198c12dedf14d65816) * Add note about libuser being unavailable @ Alpine * Prepare Alpine signing keys for installs from edge Before this patch, the Ansible Core CI Alpine image integrated into this branch only had old package signing keys pre-installed. On July 14, 2022, Apline has rotated their RSA keys to the new 4096-bit ones[1]. This resulted in older unprepared systems being unable to verify package downloads, causing the following in the logs: ERROR: http://dl-cdn.alpinelinux.org/alpine/edge/community: UNTRUSTED signature This patch updates the system-trusted keys by upgrading the `alpine-keys` package to the latest version. With the change, the old package installs succeed again. In particular, this concerns the `faketime` and `libuser` packages that are used in `group` and `setup_cron` integration tests. This change is only applied to ansible-core 2.11 since all the newer release streams have an updated version of the Alpine container that does not need this hack. [1]: https://www.alpinelinux.org/posts/Alpine-edge-signing-keys-rotated.html
2022-06-10[stable-2.11] Update AZP test container to 3.0.0. (#78024)Matt Clay
(cherry picked from commit 1321d6ecd5d34c9a90d526e4852bfc469bfae4a9)
2022-06-08[stable-2.11] yum: fix parsing of check-update with subsequent empty lines ↵Martin Krizek
(#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>
2022-05-24Update Ansible release version to v2.11.12.post0. (#77880)jamesmarshall24
2022-05-23New release v2.11.12 (#77862)v2.11.12jamesmarshall24
2022-05-16Update Ansible release version to v2.11.12rc1.post0. (#77812)Dimitri Savineau
2022-05-16New release v2.11.12rc1 (#77811)v2.11.12rc1Dimitri Savineau
2022-05-14update version switcher to include 2.13 (#77786) (#77797)Sandra McCann
(cherry picked from commit f5642cea28299857fd11aa77307f7ee04ef1edb3)
2022-05-11dont rely on path to set config defs for plugins (#77659) (#77696)Brian Coca
(cherry picked from commit a3cc6a581ef191faf1c9ec102d1c116c4c2a8778)
2022-05-09Prevent losing unsafe from lookups (#77609) (#77652)Martin Krizek
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)
2022-05-05Remove FreeBSD 11.4 from CI since it is EOL.Matt Clay
Bootstrapping fails due to missing packages.
2022-04-25Update Ansible release version to v2.11.11.post0. (#77632)Christian Adams
2022-04-25New release v2.11.11 (#77627)v2.11.11Christian Adams
2022-04-19ansible-test - Fix rstcheck compatibility issues.Matt Clay
2022-04-19Update Ansible release version to v2.11.11rc1.post0. (#77558)jamesmarshall24
2022-04-18New release v2.11.11rc1 (#77542)v2.11.11rc1jamesmarshall24
2022-04-14Pin antsibull to 0.42.0 (#77539) (#77540)Sandra McCann
(cherry picked from commit fbc75020508605d713355835e7cbbeda576379e4)
2022-04-13SID - Use literal UPN value when attempting a user to SID lookup (#77334) ↵Jordan Borean
(#77347) (cherry picked from commit ff184b0815cdbf7dc222fd9d7b0cfaa93d5fe03c)
2022-04-13winrm - ensure callers PATH for kinit is set (#77401) (#77402)Jordan Borean
* winrm - ensure callers PATH for kinit is set * Fix unit test expectations * Fix type annotation (cherry picked from commit 60b4200bc6fee69384da990bb7884f58577fc724)
2022-04-13Backport #76801 (#77295)Tong He
2022-03-29Update Ansible release version to v2.11.10.post0. (#77379)jamesmarshall24
2022-03-28New release v2.11.10 (#77373)v2.11.10jamesmarshall24
2022-03-22Update Ansible release version to v2.11.10rc1.post0. (#77331)jamesmarshall24
2022-03-21New release v2.11.10rc1 (#77328)v2.11.10rc1jamesmarshall24
2022-03-15[2.11 backport] use same timeout for galaxy api interactions (#77088) (#77143)Elijah DeLee
* 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>
2022-03-15[2.11] Fix collection redirects for filter and test plugins (#77210) (#77228)Sloane Hertel
* 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)
2022-03-15[2.11] ansible-galaxy collection verify - display new files/dirs as ↵Sloane Hertel
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)
2022-03-15[stable-2.11] Use full python package for ansiballz cache filenames (#77090) ↵Matt Martz
(#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
2022-03-11ansible-test - Fix cloud plugin traceback.Matt Clay
2022-03-01Update Ansible release version to v2.11.9.post0. (#77162)Christian Adams
2022-03-01[stable-2.11] Update setup_pexpect to prefer pip user installs.Matt Clay
This works around issues on RHEL 7.9 when an old version of pexpect is installed from an OS package. (cherry picked from commit 27fe26edbf57a39a11de7dea14dc60d4a6b1384e) Co-authored-by: Matt Clay <matt@mystile.com>
2022-02-28New release v2.11.9 (#77157)v2.11.9Christian Adams
2022-02-24Update Ansible release version to v2.11.9rc1.post0. (#77130)Christian Adams
2022-02-23New release v2.11.9rc1 (#77123)v2.11.9rc1Christian Adams
Signed-off-by: Christian M. Adams <chadams@redhat.com>
2022-02-22[stable-2.11] ansible-test - Use `--forked` instead of `--boxed`Matt Clay
The `--boxed` option is deprecated.. (cherry picked from commit eaeec8a65c4bf9066c5a2c180ec11872f84e6b67) Co-authored-by: Matt Clay <matt@mystile.com>
2022-02-22ansible-test - Omit pyopenssl for sanity tests.Matt Clay
2022-02-22ansible-test - Add MarkupSafe constraint.Matt Clay
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.
2022-02-22[stable-2.11] Use --no-deps when installing amazon.aws and not testing ↵Sloane Hertel
dependencies (#77091) (cherry picked from commit 88bfb7193e729578a570e3c73becfc6613f512da) Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2022-02-18[stable-2.11] ansible-test - Use quay.io containers in plugins..Matt Clay
(cherry picked from commit c27fd777f4d82fc1eefaa20114cf1f76b7ce1bee) Co-authored-by: Matt Clay <matt@mystile.com>