Commit Graph

32259 Commits (cb82ddec02d3caeb8d64b525f55529259e036038)

Author SHA1 Message Date
Matt Martz 6bc377e3f0
Update Ansible release version to v2.14.14.post0. (#82620) 10 months ago
Matt Martz 8416f4584d
New release v2.14.14 (#82617) 10 months ago
Matt Martz e53aefddaa
Update Ansible release version to v2.14.14rc1.post0. (#82589) 10 months ago
Matt Martz b4bd9a6761
New release v2.14.14rc1 (#82585) 10 months ago
Matt Martz beb04bc264
[stable-2.14] Ensure ANSIBLE_NO_LOG is respected (CVE-2024-0690) (#82565) (#82568)
(cherry picked from commit 6935c8e)
11 months ago
Sloane Hertel 080c3ce90c
Targeted fix for installing roles with symlinks containing '..' (#82165) (#82325)
Set the tarfile attribute to a normalized value from unfrackpath instead
of validating path parts and omiting potentially invald parts

Allow tarfile paths/links containing '..', '$', '~' as long as the
normalized realpath is in the tarfile's role directory

(cherry picked from commit 3a42a00368)
11 months ago
Felix Fontein 249f88db80
Fix broken docs RST reference. (#82286) (#82299)
(cherry picked from commit 479949aad2)
11 months ago
Matt Martz 14c0916f0a
Enable directly using `AnsibleUnsafeText` with Python `pathlib` (#82510) (#82564)
* Enable directly using `AnsibleUnsafeText` with Python `pathlib`. Fixes #82414.
(cherry picked from commit c6a652c081)
11 months ago
Matt Martz a3ded0e8e3
Update Ansible release version to v2.14.13.post0. (#82402) 12 months ago
Matt Martz d921f2206c
New release v2.14.13 (#82401) 12 months ago
Matt Martz 49c05da2d2
[stable-2.14] Additional Unsafe fixes (#82376) (#82381)
* Allow older pickle protocols to pickle unsafe classes. Fixes #82356

* Address issues when iterating or getting single index from AnsibleUnsafeBytes. Fixes #82375

* clog frag
(cherry picked from commit afe3fc1)
12 months ago
Matt Martz 865be9a4b7
Update Ansible release version to v2.14.12.post0. (#82351) 1 year ago
Matt Martz 1acaaadd0b
New release v2.14.12 (#82348) 1 year ago
Matt Davis ac8f2a5db8
Fix various issues in unsafe_proxy (#82326) (#82330)
- Use str/bytes directly instead of text_type/binary_type
- Fix AnsibleUnsafeBytes.__str__ implementation
- Fix AnsibleUnsafeBytes.__format__ return type
- Remove invalid methods from AnsibleUnsafeBytes (casefold, format, format_map)
- Use `chars` instead of `bytes` to match stdlib naming
- Remove commented out code

(cherry picked from commit 59aa0145d2)

Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
Matt Martz 1609a5d1cc
Update Ansible release version to v2.14.12rc1.post0. (#82306) 1 year ago
Matt Martz b8877d2d8b
New release v2.14.12rc1 (#82303) 1 year ago
Matt Martz 7239d2d371
Ensure that unsafe is more difficult to lose [stable-2.14] (#82295)
* Ensure that unsafe is more difficult to lose

* Add Task.untemplated_args, and switch assert over to use it
* Don't use re in first_found, switch to using native string methods
* If nested templating results in unsafe, just error, don't continue

(cherry picked from commit 586f1924512b01305f896d9ae4732773023013a3)

* ci_complete
1 year ago
Matt Davis 5cdfe667d6
add pep668 note to pip module docs (#82096) (#82100)
(cherry picked from commit 3ea5304a57)
1 year ago
Brian Coca de07dc85f5
ansible-pull: expand destinantion directoy to avoid purgin in / (#82030) (#82223)
* expand destinantion directoy to avoid purgin in /

  bad things could happen and help alone is not enough

(cherry picked from commit 8825e60add)
1 year ago
Matt Martz 6dca8f593f
Update Ansible release version to v2.14.11.post0. (#81937) 1 year ago
Matt Martz dcdb718f7a
New release v2.14.11 (#81934) 1 year ago
Matt Martz a130acec4e
Update Ansible release version to v2.14.11rc1.post0. (#81871) 1 year ago
Matt Martz 95b1e0b022
New release v2.14.11rc1 (#81862) 1 year ago
Sloane Hertel b51538ffbe
Fix reporting role as not found when remote_data is None (#81829) (#81836)
(cherry picked from commit 7fab552563)
1 year ago
Brian Coca 7f0b39271c
ansible-galaxy fix scm dependency error (#81599) (#81799)
* ansible-galaxy fix scm dependency error

  also changed usage of 'virtual colleciton' to actual type
  avoid error by filtering out virtual collections that dont have
expected properties

simplified as per webknjaz

* Update lib/ansible/galaxy/collection/__init__.py
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>

(cherry picked from commit 2aef0406d4)
1 year ago
Jordan Borean e9f685f39f
winrm - make command input more resiliant (#81538) (#81792)
* winrm - make command input more resiliant

* Expand warning message

(cherry picked from commit f22231de20)
1 year ago
Matt Davis 150def6015
fix various Jinja plugin caching issues (#79781) (#81644)
* fix various Jinja plugin caching issues

* consolidate the wrapper plugin cache
* remove redundant cache in J2 filter/test interceptor

* intra-template loader bypass

* fix early exits swallowing some exception detail

* misc comment cleanup

(cherry picked from commit dd79c49a4d)
1 year ago
Matt Martz 6809f986fc
[stable-2.14] Prevent roles from using symlinks to overwrite files outside of the installation directory (#81780) (#81786)
* Sanitize linkname during role installs

* Add tests

* add clog frag.
(cherry picked from commit ddf0311c63)
1 year ago
Matt Martz 28ed180234
Update Ansible release version to v2.14.10.post0. (#81685) 1 year ago
Matt Martz 8191ea534e
New release v2.14.10 (#81682) 1 year ago
Matt Martz 19fd0d6787
Update Ansible release version to v2.14.10rc1.post0. (#81641) 1 year ago
Matt Martz 62b7d211b3
New release v2.14.10rc1 (#81636) 1 year ago
Matt Martz b4b600a70b
[stable-2.14] tarfile: Handle deprecation warning for extract and extractall (#81545) (#81633)
* Python 3.11.4 introduces a new parameter 'filter' in extract and
extractall in tarfile. Handle deprecation warning message emitted
in Python 3.12.
* added probing mechanism in ansible-galaxy code to detect broken
data filter implementation in tarfile.

Fixes: #80832



(cherry picked from commit 1cc5efa)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Jordan Borean 7d48bef252
PowerShell - remove uneeded dotnet code for future compatibility (#81472) (#81576)
(cherry picked from commit f3976117fb)
1 year ago
Matt Clay 0f8441ad83
Update Ansible release version to v2.14.9.post0. (#81510) 1 year ago
Matt Clay 6a8d192649
New release v2.14.9 (#81507) 1 year ago
Matt Martz 223a6ee8eb
Update Ansible release version to v2.14.9rc1.post0. (#81461) 1 year ago
Matt Martz 12308ba054
New release v2.14.9rc1 (#81458) 1 year ago
Brian Coca 33f8460a78
fixed become page link in PE error message (#81391) (#81394)
(cherry picked from commit 0b9d83ccdb)
1 year ago
Felix Fontein 94a87bd92a
The split filter was added in ansible-core 2.11. (#81275) (#81290)
(cherry picked from commit b771e59793)
1 year ago
Felix Fontein 5b8ffe66a2
Module docs fixes. (#81213) (#81235)
(cherry picked from commit dce51f4ff4)
1 year ago
Matt Clay 10f4d6b982
[stable-2.14] Fix missing command descriptions in manpages/docs (#81366). (#81371)
(cherry picked from commit 32b388b4ca)
1 year ago
Matt Clay b42dcee567
[stable-2.14] Fix command doc lookup in man page generation (#81365) (#81368)
(cherry picked from commit f9d674fcfd)
1 year ago
Matt Clay 5698f942c9
Update Ansible release version to v2.14.8.post0. (#81287) 1 year ago
Matt Clay 3dd60bfaf8
New release v2.14.8 (#81284) 1 year ago
Matt Davis 65f76121fb
Update Ansible release version to v2.14.8rc1.post0. (#81210) 1 year ago
Matt Davis ec2fb0da49
New release v2.14.8rc1 (#81205) 1 year ago
Matt Martz 939370ea32
[stable-2.14] Resolve issues on python pre-3.10.6 with collection dirs longer than 100 characters (#81061) (#81073)
(cherry picked from commit 56b67cc)
1 year ago
Matt Martz c8fe9a74a1
[stable-2.14] Cache field attributes list on the playbook classes (#79091) (#81089)
* [stable-2.14] Cache field attributes list on the playbook classes (#79091)

* Cache field attributes list on the playbook classes
(cherry picked from commit 5863770)

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>

* Replace deprecated stacked `@classmethod` and `@property` (#79952)

(cherry picked from commit 243d1b5e3d)

---------

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
1 year ago
Matt Martz b1dea51116
Update Ansible release version to v2.14.7.post0. (#81090) 1 year ago