Commit Graph

48326 Commits (d5f2ef44894a4da7fbdd03f57a96ea48ffd0d2d3)
 

Author SHA1 Message Date
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
Matt Martz 4c503fe3b1
[stable-2.9] Don't treat host_pinned as lockstep (#73484) (#73513)
* [stable-2.9] Don't treat host_pinned as lockstep (#73484)

* Don't treat host_pinned as lockstep. Fixes #73364

* Add intg tests.
(cherry picked from commit d3f3784b86)

Co-authored-by: Matt Martz <matt@sivel.net>

* Make non-lockstep callback tests more deterministic (#73511)

(cherry picked from commit 125c220343)
5 years ago
Felix Fontein fc4c154a8e
Backport of 8702713ac3 (#73638) 5 years ago
Alexander Sowitzki 58524e4096
[stable-2.9] Bump azure-pipelines-test-container to version 1.8.0 (#73550)
(cherry picked from commit c3e2bdd3a8)

Co-authored-by: Alexander Sowitzki <asowitzk@redhat.com>
5 years ago
Gonéri Le Bouder cf53554cf5
[ansible-test] attempt to work around podman (#72096) (#73570)
Change:
- podman > 2 && < 2.2 does not support "images --format {{json .}}"
- podman also now outputs images JSON differently than docker
- Work around both of the above.

Test Plan:
- Tested with podman 2.0.6 in Fedora 31.

Signed-off-by: Rick Elrod <rick@elrod.me>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit 0332046699)
5 years ago
Gonéri Le Bouder 462edf003e
ansible-test: yamllint, check the assigment (#73584)
Ensure `yamllint`'s `check_assignment()` correctly ignore the
attribute assignment. Those don't have any `.id` attribute and will
trigger an `AttributeError` exception.

See: https://github.com/ansible/ansible/pull/73322
(cherry picked from commit 0a8d5c0983)
5 years ago
Sam Doran 8493662b89
[stable-2.9] hostname - add Almalinux support (#73619) (#73649)
(cherry picked from commit ac0dedda72)

Co-authored-by: Aaron Guise <guisea@users.noreply.github.com>
5 years ago
Matt Martz 0d20c829a2
[stable-2.9] Normalize ConfigParser between Python2 and Python3 (#73715) (#73724)
* [stable-2.9] Normalize ConfigParser between Python2 and Python3 (#73715)

* Normalize config parser between py2 and py3

* Add tests and changelog

* Use different config entry, since we supply certain env vars.
(cherry picked from commit 950ab74758)

Co-authored-by: Matt Martz <matt@sivel.net>
5 years ago
Zadkiel d3376f1b20
terraform: Remove line that is suppressing output being shown (#66322) (#73803)
* remove the line that is suppressing the output being shown when running
terraform from ansible
* Address #56934 and #57044
* added changelog for bug fix for missing terraform output

Co-authored-by: Ric de France <41117503+ric-man@users.noreply.github.com>
Co-authored-by: Adam <adam.lemanski@gmail.com>
5 years ago
Sam Doran 5a9f4f7bb3 Move win_uri to a group that does not reboot the test instance
Another test in group3 reboots the test instance, killing the ssh connections
needed for access to the httptest container.

ci_complete
5 years ago
Sam Doran 733704f97e Rebalance Windows test groups to avoid timeouts 5 years ago
Sam Doran 55a3f2e1eb Update signing key used in incidental_setup_flatpak_remote tests
The original key was created using the default expiration time of two years.
Signed the repo again using a key that expires in twenty years.
5 years ago
Ashwini Mhatre 67e0d9a481
[stable-2.9]:Fix IOSXR integration test (#73607)
* Fix integration testcase in netconf_config for iosxr
5 years ago
Rick Elrod 0d83804e8b Update Ansible release version to v2.9.18.post0. 5 years ago
Rick Elrod 4455e60166 New release v2.9.18 5 years ago
Rick Elrod 83fc193cb6
[mongodb tests] Wait for ports in TIME_WAIT (#73655)
Change:
- The latest mongodb we install causes processes to not die correctly
  (they end up as zombies), and this causes the ports they listen on to
  be held in TIME_WAIT. We need to wait for them to fall out of
  TIME_WAIT before we can continue and use them again.

Test Plan:
- CI
- Local playing in containers

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Matt Clay b20547af70 Fix cryptography install in ansible-test.
This fix is based on https://github.com/ansible/ansible/pull/73530/
5 years ago
Rick Elrod f5d61a4a0a New release v2.9.18 5 years ago
Rick Elrod 7a7f5a7006 Update Ansible release version to v2.9.18rc1.post0. 5 years ago
Rick Elrod 16ba79b5ac New release v2.9.18rc1 5 years ago