Commit Graph

29694 Commits (4f0e584ea4f905ca2101ac0525ea90398f35d256)

Author SHA1 Message Date
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
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
Rick Elrod 44f24bce36 Update Ansible release version to v2.9.21.post0. 5 years ago
Rick Elrod 89f2208f40 New release v2.9.21 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
jamesmarshall24 473608521f
Fix "canonical" typo in win_host examples (#74161) 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
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
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
Rick Elrod 0d83804e8b Update Ansible release version to v2.9.18.post0. 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
Andrew Klychkov 069311bff3
postgresql_query: fix datetime.timedelta type handling (#73520) 5 years ago
Jordan Borean 49ebd509df
no_log mask suboption fallback values and defaults CVE-2021-20228 (#73487) (#73493)
(cherry picked from commit 0cdc410dce)
5 years ago
Jordan Borean e9838486bd
bugfix: use to_text(stdout) in psrp.Connection.put_file method (#73491) - 2.9 (#73495)
* bugfix: use to_text(stdout) in psrp.Connection.put_file method (#73491)

Co-authored-by: jakegatsby <jakegatsby@example.com>
(cherry picked from commit f271d02a9f)
5 years ago
Abhijeet Kasurde 10d81272b7
[bp-2.9] snmp_facts: Hide user sensitive information in console (#73188)
**SECURITY** - CVE-2021-20178

Hide user sensitive information like `privkey` and `authkey`
while logging in console.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 years ago