Commit Graph

48345 Commits (44f24bce36663befd2bdcb9300946ce4f031868d)
 

Author SHA1 Message Date
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
Sam Doran 9380d74c02
[stable-2.9] incidental_setup_rabbitmq test - Use official repo for rabbitmq-erlang (#74453)
Previously it was hosted on bintray, but that service is shutting down on May 1. Using the new
repository also required using a newer version of RabbitMQ..
(cherry picked from commit 62cba4a6ad)

Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
Rick Elrod 1c641dd83d Update Ansible release version to v2.9.21rc1.post0. 5 years ago
Rick Elrod 2ce8dc65f3 New release v2.9.21rc1 5 years ago
Matt Clay 14036d154d [stable-2.9] Fix pypi-test-container port conflict.
(cherry picked from commit cb7f4f1971)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Rick Elrod d4a3d6cd0a
[ansible-test] Sync opensuse containers with 2.10 (#74436)
* [ansible-test] Sync opensuse containers with 2.10

Change:
- OpenSuSE 15.1 is now EOL
- Switch containers to use what 2.10 uses, which has 15.2.

Test Plan:
- ci_complete

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

* docker version

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

* needs p7zip-full, otherwise we only get 7zr

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

* Make sure py2 stays py2

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

* no wildcard?

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

* -x instead of --xml

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Martin Krizek e8c1c1d636
Actually run blocks/finalized_task test (#74291) (#74310)
(cherry picked from commit 7fecb7ccc3)
5 years ago
Matt Clay dfe3a4d345
[stable-2.9] Fix ansible-test docker container IP detection. (#74390)
(cherry picked from commit 14ff5e213c)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Sam Doran 4b23ac77e1 Disable failing hcloud_server test 5 years ago
jamesmarshall24 473608521f
Fix "canonical" typo in win_host examples (#74161) 5 years ago
Alicia Cozine f3087255ee
Backports list of available versions to 2.9 for Ansible 3 (#74265) (#74321)
* updates list of available versions for Ansible 3 (#74265)

(cherry picked from commit 126e9244c2)

* oops, also need to update pointer to latest

Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
5 years ago
Alexander Sowitzki a13f181fd1 [stable-2.9] Bump azure-pipelines-test-container to version 1.9.0
(cherry picked from commit 4819e9301b)

Co-authored-by: Alexander Sowitzki <asowitzk@redhat.com>
5 years ago
Matt Clay 225709ca20
[stable-2.9] Switch to hashlib.sha256() for ansible-test (#72411) (#74170)
When FIPs mode is enable on centos-8, we are not able to load md5
functions.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit a95213d2f5)

Co-authored-by: Paul Belanger <pabelanger@redhat.com>

Co-authored-by: Paul Belanger <pabelanger@redhat.com>
5 years ago
Gonéri Le Bouder f4ec55b2d8
[stable-2.9] validate_modules: fails with .id attribute not found (#73322) (#74179)
* validate_modules: fails with .id attribute not found

This patch addresses a problem in the `found_try_except_import` test.

This module tries to identify lines like:

`HAS_FOO = True`

In this case, the target (`HAS_FOO`) is of type `ast.Name` and has a
`id` attribute which provide the name.

In my case, I've a line that set a module attribute`. In this case, the
target (`module.var`) has the type `ast.Attribute` and no `id`
attribute. The code trigger an `AttributeError` exception.

This patch ensures we compare a `ast.Name`.

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

(cherry picked from commit 7cf80f50d1)
5 years ago
Sam Doran cc97479f9d
[stable-2.9] ansible-test - ensure trailing separator is added for connection unit test target (#74176) (#74182)
For connection units tests, if the `__init__.py` file is modified, the trailing separator was
not added, making the target invalid.
(cherry picked from commit 7b79b69369)

Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
Matt Clay 3155c8c26c
[stable-2.9] Add PyPI proxy container for tests on Python 2.6.. (#74206)
(cherry picked from commit becf941673)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Rick Elrod a0cfde08cf Update Ansible release version to v2.9.20.post0. 5 years ago
Rick Elrod d5f2ef4489 New release v2.9.20 5 years ago
Rick Elrod 910f4b79cc Update Ansible release version to v2.9.20rc1.post0. 5 years ago
Rick Elrod 470b3f59d2 New release v2.9.20rc1 5 years ago
Alina Buzachis fab9bf11b4
New AWS module mod_defaults - rds_option_group (_info) modules (#74098)
* * Add rds_option_group and rds_option_group_info to module_defaults

Signed-off-by: Alina Buzachis <abuzachis@redhat.com>

* changelog

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

Co-authored-by: Rick Elrod <rick@elrod.me>
5 years ago
Jill R 6c471c4ce8
New AWS module mod_defaults - wafv2 modules (#73975)
* New AWS module mod_defaults - wafv2 modules

* changelog

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

Co-authored-by: Rick Elrod <rick@elrod.me>
5 years ago
Carlos Camacho 042d8ef500
[stable-2.9] Fix: nmcli bridge-slave fails with error (#74125)
This commit fixes the error for adding bridge
slaves: nmcli bridge-slave returns "Error: invalid or not allowed setting 'bridge-port'

This fix is related to #42460, #54617, and #68065

* changelog
5 years ago
Mark Chappell 7b048c49a8
[backport/2.9] module_defaults: Add rds_snapshot (#74113)
* module_defaults: Add rds_snapshot

* changelog
5 years ago
Sam Doran 0d668b6046
[stable-2.9] find - set proper default based on use_regex (#73961) (#73966)
When using "use_regex: yes" and setting an excludes: without
specifying a pattern: the existing code passes the file-glob '*' to
the regex matcher.  This results in an internal invalid-regex
exception being thrown.

This maintains the old semantics of a default match-all for pattern:
but switches the default to '.*' when use_regex is specified.

The code made sense as-is before excludes: was added (2.5).  In that
case, it made no sense to set use_regex but *not* set a pattern.
However, with excludes: it now makes sense to only want to exclude a
given regex but not specify a specific matching pattern.

Closes: #50067

* moved change to new location
added changelog

* Update lib/ansible/modules/find.py

Co-authored-by: Ian Wienand <iwienand@redhat.com>.
(cherry picked from commit 089d0a0508)

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

* Update fix_find_default.yml

Co-authored-by: Rick Elrod <rick@elrod.me>
5 years ago
Matt Davis f8caa43dc7
add optional module_utils import support (#73832) (#73916)
Treat  core and collections module_utils imports nested within any Python block statement (eg, `try`, `if`) as optional. This allows Ansible modules to implement runtime fallback behavior for missing module_utils (eg from a newer version of ansible-core), where previously, the module payload builder would always fail when unable to locate a module_util (regardless of any runtime behavior the module may implement).

* sanity test fixes

ci_complete

(cherry-picked from 3e1f6484d7)
5 years ago
Matt Martz 1592c8b0fd
[stable-2.9] Ensure task from the worker is finalized/squashed (#73881) (#73929)
* Ensure task from the worker is finalized/squashed. Fixes #57399. Fixes #49942
(cherry picked from commit 832631b)

Co-authored-by: Matt Martz <matt@sivel.net>
5 years ago
Xabier Napal f2d4f7344f
Fix wrong backup directory var name in apt module (#73840) (#74003)
(cherry picked from commit 2bff120db6)
5 years ago
Rick Elrod 9052b0e7f2
[security] Add more missing no_logs (#74115)
Change:
- Add missing no_log on fields and subfields which should have it.
- Update several changelogs with CVE id.

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Felix Fontein aee69d714c
Backport of https://github.com/ansible-collections/community.network/pull/223. (#73909) 5 years ago
Mark Chappell de3c5561d8
Partial backport of community.aws/471 - no_log=True for aws_secret (#73874) 5 years ago
Felix Fontein 4fb24327a3
Backport of https://github.com/ansible-collections/community.general/pull/2018. (#73893) 5 years ago
Felix Fontein 7b7c219b3e
Backport of https://github.com/ansible-collections/community.aws/pull/475. (#73894) 5 years ago
Felix Fontein 67281188b8
Backport of https://github.com/ansible-collections/community.docker/pull/103. (#73890) 5 years ago
Matt Clay 7fa32b9b44 [stable-2.9] Fix ansible-test coverage exporting.
(cherry picked from commit b75844af45)
5 years ago
Mark Chappell 84e61b32f8 Ensure unit test paths for connection and inventory plugins are based on the context (#73877) 5 years ago
Sam Doran 21eac8aba4 Move file needed by cs_volume test to S3
There is a bad mirror missing the file and it is causing tests to fail.
5 years ago
Rick Elrod 33a28f678d Update Ansible release version to v2.9.19.post0. 5 years ago
Rick Elrod 98cb6fe4eb New release v2.9.19 5 years ago
Rick Elrod fb0a2b328e Update Ansible release version to v2.9.19rc1.post0. 5 years ago
Rick Elrod 49384aecdd New release v2.9.19rc1 5 years ago
Mark Chappell 08538ef0b1
New AWS module mod_defaults - iam_saml_federation (#73669) 5 years ago
Mark Chappell a90e731cea
New AWS module mod_defaults - ec2_vpc_endpoint_service_info (#73670) 5 years ago
Rhys d0703a8c7d
Update mongodb replicaset check_compatibility function (#72299)
* Update check_compatibility function
5 years ago
Felix Fontein fc1f44e794
Backport of https://github.com/ansible-collections/community.crypto/pull/180 to stable-2.9. (#73815) 5 years ago
Felix Fontein 68f32e43c1
Backport of https://github.com/ansible-collections/community.docker/pull/88 to stable-1. (#73816) 5 years ago
Felix Fontein 5855df4f0f
Backport of bugfix parts of https://github.com/ansible-collections/community.docker/pull/87/ to stable-2.9. (#73817) 5 years ago
Sam Doran 35c3b3d42d
[stable-2.9] Add AlmaLinux to the family of Red Hat-like operating systems (#73541) (#73544)
* Add changelog and fixtures for AlmaLinux support

Co-authored-by: Christoph Schug <com+github@schug.net>.
(cherry picked from commit 2f5c83dfb1)

Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago