Commit Graph

48392 Commits (ef8f41c940e83fc1900a05cb883da149e786d89a)
 

Author SHA1 Message Date
Matt Clay ef8f41c940 Revert "[stable-2.9] Add additional constraint for `setuptools` (#75651)"
This reverts commit 5faae7f464.

Now that `setuptools` version 58.0.3 has been released, this change is no longer needed.
4 years ago
Sam Doran 5faae7f464
[stable-2.9] Add additional constraint for `setuptools` (#75651)
The recent release of setuptools 58.0.2 breaks installation of coverage since
it references the 'use_2to3' feature.
4 years ago
Brian Coca 19261a7bed
Attributes compat (#75563) (#75622)
* Attributes compat (#75563)

* ignore 'attributes' for json dump

  let existing overrides display, wont be full info but still pertinent info
  though user will have to check newer versions

(cherry picked from commit 463cf9fe24)
(cherry picked from commit 93cc74ba13)

* Update test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
4 years ago
Brian Coca e926f5fe99
fixed ansible.cfg link for 2.9 (#75631) 4 years ago
Christian M. Adams affaf24719
Update Ansible release version to v2.9.25.post0. 4 years ago
Christian M. Adams 7db0dbee51
New release v2.9.25 4 years ago
Sandra McCann d9a205f56e
add known-good requirements for docs (#75459) 5 years ago
Rick Elrod 044279a28f Update Ansible release version to v2.9.25rc1.post0. 5 years ago
Rick Elrod 8e84e8dcb2 New release v2.9.25rc1 5 years ago
Sloane Hertel 081a93caa3
[2.9] Fix dnf package matching (#75411) (#75416)
* Fix dnf package matching (#75411)

* Fix a bug with the dnf module not using all components of a package name when filtering to determine if it's installed

* changelog

* Simplify splitting on the last '.'

* Update lib/ansible/modules/dnf.py

(cherry picked from commit b541a148d5)

* Fix dnf test assertion

(cherry picked from commit 91a26ddcef)
5 years ago
Felix Fontein e9bc474208
Allow to ignore rstcheck errors. (#75405)
(cherry picked from commit 46819a65fa)
5 years ago
Matt Martz cab637a733
[stable-2.9] allow env to override unspecified unsafe_writes (#73282) (#75397)
* [stable-2.9] allow env to override unspecified unsafe_writes (#73282)

* allow env var for fallback value for unspecified unsafe_writes.
(cherry picked from commit c7d4acc12f)

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>

* ensure unsafe writes fallback (#70722)

* Ensure we actually fallback to unsafe_writes when set to true

 add integration test
 add fix for get_url not passing the parameter from args

(cherry picked from commit 932ba36160)

* Added clog missing for issue 70722 (#73175)

(cherry picked from commit d6670da1d7)

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
5 years ago
Brian Coca ae758749df
restores delegated vars that were not passed (#74371) (#75347)
* restores delegatd vars that were not passed

   this will restore delegate display on callbacks using the vars
   also moves to use delegate_to directly on the default callback

* clog

(cherry picked from commit cbc83545582d8d7a718140263c465129e0e535d9)
(cherry picked from commit ed456f25f6)
5 years ago
Martin Nečas 626a8a29af
Backport 2.9: Setup virtualization_facts - add RHV and oVirt type (#73903)
* Setup virtualization_facts - add RHV and oVirt type

* initialize sys_vendor only once

* add changelog

* Update 72876-setup-facts-add-redhat-vendor.yml

* Update linux.py

* Change only RHV virtualization_type

* Update 72876-setup-facts-add-redhat-vendor.yml
5 years ago
Rick Elrod b2c1e26d4c Update Ansible release version to v2.9.24.post0. 5 years ago
Rick Elrod d4c25c0f5b New release v2.9.24 5 years ago
Rick Elrod c2abd9bbae Update Ansible release version to v2.9.24rc1.post0. 5 years ago
Rick Elrod 6d40655255 New release v2.9.24rc1 5 years ago
Gonéri Le Bouder 4e4f2a37f8
ansible-test: exposes tiny_prefix variable (#75130)
ansible-test aws provider now creates and exposes a new tiny_prefix
variable to provide a shorter prefix for the AWS tests.

(cherry picked from commit 5b8fb4dcd3)
5 years ago
Matt Martz 9b20405210
[stable-2.9] Prevent ansible_failed_task from further templating (#74290) (#75220)
* Prevent ansible_failed_task from further templating
Fixes #74036
* Add changelog.
(cherry picked from commit 664531d7d6)

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
5 years ago
Felix Fontein 7a5c66fe14 [stable-2.9] Restrict packaging to < 21.0 for Python < 3.6. (#75186).
(cherry picked from commit 67bc49e001)

Co-authored-by: Felix Fontein <felix@fontein.de>
5 years ago
Sam Doran 332ca6e298 [stable-2.9] Skip docker_container test when running in a container 5 years ago
Sam Doran b3fd2b5012 Skip broken test on OS X 5 years ago
Sam Doran 60c03e8af4
Add constraints for new ruamel release (#75134)
Newer releases of ruamel.yaml and ruamel.yaml.clib require newer Python versions.
5 years ago
Andrew Klychkov 39cae91b02
collections_using.rst: add note that manual upgrade is required when installing collections from Galaxy (#75024) (#75027)
(cherry picked from commit 5df82415b5)
5 years ago
David Shrewsbury a4e9291f86
remove reference to container ML (#75014) (#75030)
(cherry picked from commit 2387ce311f)
5 years ago
Andrew Klychkov 0c895b2e22
Due to the takeover of freenode we're moving to a different irc network. (#74775) (#75007)
* Update channel references to point at the same channel name on libera.chat
* Update generic links to https://libera.chat
* In general, use irc.libera.net for link names/text and https://libera.chat for link targets.
  The irc service is hosted on irc.libera.chat but the project web server is hosted on
  libera.chat.
* Removed http://irc.freenode.net from the linkcheck exceptions.
* Add a link to where contributors should get support
for developing groups of modules to docs/docsite/rst/dev_guide/developing_modules_in_groups.rst

Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 80e7e1a17c)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
5 years ago
Rick Elrod 6cb039a402 Update Ansible release version to v2.9.23.post0. 5 years ago
Rick Elrod 8016c034da New release v2.9.23 5 years ago
Rick Elrod ba66bebcda Update Ansible release version to v2.9.23rc1.post0. 5 years ago
Rick Elrod e26c8e3134 New release v2.9.23rc1 5 years ago
Abhijeet Kasurde 4acad228f0
[bp-2.9] firewalld: Ensure idempotency (#74992)
Fixes: https://github.com/ansible-collections/ansible.posix/issues/179

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 years ago
Brian Coca 8b17e5b922
fix unsafe preservation across newlines (#74960) (#74976)
CVE-2021-3583
  ensure we always have unsafe

Co-authored-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit 4c8c40fd3d)
5 years ago
Hideki Saito c49092fd29
Backport to fix missing initializing changed in net_get (#74805)
* Fixes #74802

Signed-off-by: Hideki Saito <saito@fgrep.org>
5 years ago
Sam Doran 88eb0f1dfb
Skip task for CentOS 8 as well (#74913)
Something change in the packages that was failing on RHEL
a few weeks ago. Now it is failing in CentOS 8 as well
5 years ago
Toshio Kuratomi 0691475caf
Workaround bug in jinja2-3.0.0 and 3.0.1 (#74795)
Jinja2-3.0.0 and 3.0.1 has a bug where undefined values cannot be
checked to see if they contain a value: https://github.com/pallets/jinja/issues/1448#issuecomment-846029509

We workaround this in two ways, either of which would be sufficient:
* Normalize the data so that choices is an empty iterable when it isn't
  specified in the documentation.  This is what antsibull-docs (and thus
  documentation builds on 2.10+) do.
* Change the logic in the template to check whether choices exists
  before checking containment.  This better expresses the logic at that
  point in the template (if there is a default value but there is not a
  list of choices, then display the default in its own string) so it's
  a good change to make as well.
5 years ago
Rick Elrod d53fb60af3 Update Ansible release version to v2.9.22.post0. 5 years ago
Rick Elrod dc9726fe6c New release v2.9.22 5 years ago
Rick Elrod 4f0e584ea4
[2.9] [tests] add websocket-client constraint, python 2 (#74750)
Change:
- websocket-client >= 1 requires python 3, so add constraint for python
  2.

Test Plan:
- ci_complete

Signed-off-by: Rick Elrod <rick@elrod.me>

* avoid a mysql_variables check on rhel 8

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod d1db5366a2 Update Ansible release version to v2.9.22rc1.post0. 5 years ago
Rick Elrod a9518f8809 New release v2.9.22rc1 5 years ago
Sam Doran a2fabbe38b
[stable-2.9] Use our own copy of the Codecov uploader (#74460) (#74493)
Due to the recent security incident, use our own copy hosted in S3
to mitigate future risk from running an arbitrary script downloaded from a
remote and untrtusted server.
(cherry picked from commit aa12af1d34)

Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
Sam Doran 6fe7640fa5 [stable-2.9] Disable rabbitmq integration tests 5 years ago
Matt Clay c310830553
[stable-2.9] CI and compat fixes for Jinja2 >= 3.0 (#74666) (#74672)
* [stable-2.9] CI and compat fixes for Jinja2 >= 3.0 (#74666)

* Add constraint for MarkupSafe

MarkupSafe >= 2.0.0 requires Python >= 3.6.0. Add a constraint for older Python versions
and fix the `groupby_filter` test.

* Fix template_jinja2_latest test.

* patch filter decorators on newer Jinja2

* Jinja2 >= 3.0 renames several filter decorators used by Ansible itself, as well as by filters in collections. This patch ensures that the old names are usable within Ansible and by collections without warnings or errors.

* Ignore docs-build issues.

* Remove unnecessary ignore.

* Disable failing nuage_vspk test.

* Fix inventory_aws_conformance integration test.

(cherry picked from commit f99d024851)

Co-authored-by: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Davis <mrd@redhat.com>.
Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
Matt Clay d8d20a2ff9 [stable-2.9] Fix ansible-test AZP build lookup.
(cherry picked from commit 877e5b3dfe)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Matt Clay 6afac6878c [stable-2.9] Remove obsolete Shippable specific scripts.
Also remove some other unncessary code from CI scripts..
(cherry picked from commit be7de9844e)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Bill Nottingham 93e2a52ce7
Product-related updates. (#74463) 5 years ago
Rick Elrod 44f24bce36 Update Ansible release version to v2.9.21.post0. 5 years ago
Rick Elrod fb177b3878
shift a few CI groups [2.9] (#74553)
ci_complete

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod 89f2208f40 New release v2.9.21 5 years ago