Commit Graph

54158 Commits (56e39b3e7289d09803b09b392678f06b42e7e3bb)
 

Author SHA1 Message Date
Sloane Hertel 56e39b3e72
Fix ansible-vault integration test for missing vault ids (#83777) (#83783)
* Fix broken, circumvented test for missing vault ids

* verify the command returns a non-zero exit code

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit fe7e68bfcb)
3 months ago
Jordan Borean c58b88b1dd
ssh and psrp - Support more complex characters in fetch_file (#83753) (#83816)
* ssh and psrp - Support more complex chars in fetch_file

Fixes the psrp and ssh (with piped) fetch function to work with paths
that contains glob like characters in the path. For Windows this was
needed when using paths that contain `[]` in the path. For ssh this was
a problem with FreeBSD when using the piped transfer method with similar
characters.

Also tidies up the psrp logic to not inject the paths and buffer size
in the script but pass it as an object through an argument/parameter.

* Fix sanity check

(cherry picked from commit 520fa688ba)
3 months ago
Jordan Borean 52599ee873
Add explicit winrm/psrp tests for HTTP and HTTPS (#83769) (#83809)
(cherry picked from commit dec49e6288)
3 months ago
Martin Krizek bba9f4d02d
Ensure skipped loop iteration register var is available (#83756) (#83789)
Fixes #83619

(cherry picked from commit 9a54ba5a39)
3 months ago
Martin Krizek e97e4239a6
Fix meta tasks breaking host/fork affinity with host_pinned (#83438) (#83779)
Fixes #83294

(cherry picked from commit 5c84220dbb)
3 months ago
Sloane Hertel 050573c256
[stable-2.16] csvfile lookup - fix giving an error when no search term is provided (#83710) (#83733)
* csvfile lookup - fix giving an error when no search term is provided (#83710)

Fixes #83689

(cherry picked from commit 26c8a28d05)

* Fix csvfile test - quote file argument (#83751)

file was intended to be a string, not an undefined variable

(cherry picked from commit 97a60c1e86)
3 months ago
Sloane Hertel c150d1ed91
Fix task-adjacent search path in roles (#83621) (#83731)
* Restore search path in the current task file’s directory for roles

(cherry picked from commit 0be66ed6dc)
3 months ago
Matt Martz 93ce28e51c
Update Ansible release version to v2.16.10.post0. (#83770) 4 months ago
Matt Martz 1344463a76
New release v2.16.10 (#83767) 4 months ago
Matt Martz d550c55ac1
Update Ansible release version to v2.16.10rc1.post0. (#83721) 4 months ago
Matt Martz 9427b825c7
New release v2.16.10rc1 (#83719) 4 months ago
Abhijeet Kasurde b8e011cd5f
[stable-2.16] Update any.yml (#83606)
* fixed typo in description
* fixed comment in examples

(cherry picked from commit 506d12de69)

Co-authored-by: Alex Barth <alexbarth92@outlook.com>
4 months ago
Brian Coca bff59efaaf
module compression is now again settable via var (#83573) (#83592)
Previous change overlooked 'uncommenting' the variable entry as a way to update this  to keep the functionality.

Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 0eeb933238)
4 months ago
Martin Krizek 8a5a2c581a
linear: fix included handlers executing in lockstep (#83209) (#83529)
Fixes #83019

(cherry picked from commit 775bc1110e)
4 months ago
Matt Clay 887f24d11a
[stable-2.16] tests: use keyserver with keyid while using apt_key (#83694) (#83702)
(cherry picked from commit 3daf01e270)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
4 months ago
Abhijeet Kasurde 241c75aa44
[stable-2.16] ansible-test - Improve unknown env error message (#83678)
(cherry picked from commit 906c969b55)

Co-authored-by: Matt Clay <matt@mystile.com>
4 months ago
Matt Clay 5b35295b81
[stable-2.16] ansible-test - Remove VyOS tests and support files (#83650) (#83652)
The VyOS remote image required for running the tests is no longer functional.
(cherry picked from commit 79f819dc54)
4 months ago
Matt Clay 7bec343023
[stable-2.16] Use build instead of pep517 for integration test (#83639)
(cherry picked from commit f261a6142f)
4 months ago
Matt Clay 7f5948450b
Update Ansible release version to v2.16.9.post0. (#83614) 5 months ago
Matt Clay 61e9dbac62
New release v2.16.9 (#83612) 5 months ago
Matt Clay 4f74aa1d49
[stable-2.16] Quality-of-life improvements for release tool (#83551) (#83559)
* Quality-of-life improvements for release tool

- Default devel releases to b1
- Default non-devel releases to rc1
- Default to release announcement to console
- Avoid auto-links in GH release annoucements for file sizes

(cherry picked from commit 20a815b03f)
5 months ago
Matt Davis a550dc6af0
Update Ansible release version to v2.16.9rc1.post0. (#83552) 5 months ago
Matt Davis 24fcd34559
New release v2.16.9rc1 (#83550) 5 months ago
Matt Davis 2ed5f661d7
Revert "dnf - arches must be the same in the is_newer_installed check (#83417) (#83505)" (#83549)
This reverts commit 58b22a3476.
5 months ago
Martin Krizek 58b22a3476
dnf - arches must be the same in the is_newer_installed check (#83417) (#83505)
Fixes #83406

(cherry picked from commit 2930a4664c)
5 months ago
Brian Coca a4499fdba0
linear strategy, show templated task name on start (#83473) (#83487)
we only templated in some cases but when queueing we could get an untemplated name for the 'on start' event.

(cherry picked from commit 0d28705ce5)
5 months ago
Brian Coca f0179c0f0c
hostvars templating fix, override serialization (#83509) (#83516)
fixes #82872
nicer implementation courtesy of nitzmahone

(cherry picked from commit 6c0f4c8a2d)
5 months ago
Martin Krizek a4ca9e5ee2
dnf, dnf5: fix installing via wildcard (#83481) (#83492)
Fixes #83373

(cherry picked from commit 0ee6e39615)
5 months ago
Martin Krizek afcaaeb9f6
[stable-2.16] Use f38 official repo for libdnf5 package (#83430)
This will make stable-2.16 testing more stable as the f38 copr repo is
going away at some point. It suffices to test against the nightly repo
in stable-2.17 and devel.
5 months ago
Sviatoslav Sydorenko (Святослав Сидоренко) c8c45cdfb4
🧪 Switch CentOS 7 yum repo mirrors to the vault (#83523)
The distro itself reached EoL on June 30, 2024, but these repository
archives live on and should remain usable for testing.

Refs:
* https://www.redhat.com/en/topics/linux/centos-linux-eol
* https://github.com/ansible/pylibssh/commit/01d3442f
* https://gist.github.com/hkneptune/4961532c2df691db79a1c6b72c251b25
* https://vault.centos.org/7.9.2009/
5 months ago
Matt Martz 0293a105ec
Update Ansible release version to v2.16.8.post0. (#83463) 5 months ago
Matt Martz 2be0e277c4
New release v2.16.8 (#83461) 5 months ago
Matt Clay 3135e55dc9
[stable-2.16] ansible-test - Update PyPI test container to 3.1.0 (#83432). (#83440)
(cherry picked from commit 5af5b4b6c8)
6 months ago
Matt Martz 147bb4e54c
Update Ansible release version to v2.16.8rc1.post0. (#83409) 6 months ago
Matt Martz 97384de6c1
New release v2.16.8rc1 (#83407) 6 months ago
Matt Clay 4576f33ac5
Update azure-pipelines-test-container (#83376) 6 months ago
Abhijeet Kasurde a31f07eee7
[stable-2.16] filter: update the documentation for win_splitdrive (#83307)
Fixes: #83299

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit c1d41ee44e)
6 months ago
Sloane Hertel 68463c2e4d
Fix task.resolved_action callbacks (#82003) (#83330)
* Fix task.resolved_action for callbacks when playbooks use action or local_action

* Fix using module_defaults with 'action' and 'local_action' task FA and add a test case

Fixes #81905

(cherry picked from commit f2435375a8)
6 months ago
Abhijeet Kasurde bcc4718202
[stable-2.16] The extension returned by the splitext contains the dot (#83334)
Fixed examples for splitext filter plugin

(cherry picked from commit 454dd9e91d)

Co-authored-by: Benoît Geeraerts <10222438+b-enoit-be@users.noreply.github.com>
6 months ago
Jordan Borean ae8da5eeae
powershell - Improve Add-Type tempdir handler (#83080) (#83344)
Improves the Add-Type temporary directory handler to include a retry
mechanism and not fail on an error. Deleting a temporary file used in
compilation is not a critical error and should improve the reliability
of Ansible on Windows hosts.

(cherry picked from commit b8f1add983)
6 months ago
Abhijeet Kasurde 1ef184ba2d
[stable-2.16] Fix Test failure with cowsay installed/present (#83350)
(cherry picked from commit e07b4edc54)

Co-authored-by: MajesticMagikarpKing <69774548+yctomwang@users.noreply.github.com>
6 months ago
Matt Martz a97e39b90f
Update Ansible release version to v2.16.7.post0. (#83283) 6 months ago
Matt Martz 4a0839bf60
New release v2.16.7 (#83279) 6 months ago
Matt Martz 92a0ed8ad5
Update Ansible release version to v2.16.7rc1.post0. (#83245) 7 months ago
Matt Martz 495fe7537d
New release v2.16.7rc1 (#83241) 7 months ago
Jordan Borean 96bacf54b2
Add version ceiling for pypsrp (#83122) (#83163)
* Add version ceiling for pypsrp

Add a version ceiling for the pypsrp requirements. This ensures that the
future v1.0.0 release won't impact existing users who install the
library using the version range specified.

* Use constraints file

* Add changelog for this change

(cherry picked from commit 2ed6c30929)
7 months ago
Matt Clay c0f7e9cc2c
ansible-test - Use PyPI proxy for centos7 (#83226) 7 months ago
Martin Krizek c93643fc4d
handlers: fix executing in lockstep using linear (#83030) (#83073)
Fixes #82307

(cherry picked from commit a3cdd831b3)
7 months ago
Matt Martz 5d3a372ef6
[stable-2.16] Issue #80267: Remove user not found warning (#80291) (#83078)
(cherry picked from commit e0bf76e)

Co-authored-by: Sebbo94BY <Sebastian-Kraetzig@gmx.de>
7 months ago
Brian Coca 40bdb2b471
inspect components, ansible_managed templatable (#83053) (#83128)
* inspect components, ansible_managed templatable

fixes #82322

(cherry picked from commit 124d03145c)
7 months ago