Matt Clay
da3b1d3f50
ansible-test - Fix `--prime-containers` and `--explain` ( #79581 )
...
* Remove unused code.
* Fix explain errors.
* Fix `--prime-containers` with docker on cgroup v2.
2 years ago
Matt Clay
dcc08eec35
ansible-test - Fix target PyPI proxy config.
2 years ago
Matt Martz
04209d328b
2.15.0 will release 2023-05-15 ( #79567 )
...
* 2.15.0 will release 2023-05-15
* Eliminate 1 week freeze, shift dates 1 week
* oops
Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
2 years ago
Martin Krizek
60f76436c1
Simplify AnsibleJ2Vars by using ChainMap for vars ( #78713 )
...
Co-authored-by: Matt Martz <matt@sivel.net>
2 years ago
Matt Clay
245d516911
Fix `:ref:` usage in testing docs. ( #79566 )
2 years ago
Thomas Poindessous
6a7fb7d2ab
fix: broken link ( #79461 )
2 years ago
Matt Clay
0f4afd7e6d
Remove obsolete legacy integration test docs. ( #79563 )
2 years ago
Matt Clay
932a32153a
Update docs for the `compile` sanity test. ( #79562 )
2 years ago
Martin Krizek
0a12d8a5bc
ansible-test - fix warning to include image name ( #79560 )
2 years ago
zitatorocsik
bc13099e56
fixed misleading setup example ( #79495 )
2 years ago
Sloane Hertel
11e43e9d6e
Set locale for python apt ( #79546 )
...
* set locale to get_best_parsable_locale for the python-apt API
* add a test case
* add changelog
* remove test that tests nothing
2 years ago
Raymond Yee
527abba860
Update windows_faq.rst ( #79552 )
...
`python-pip` changes to `python3-pip` for the Ubuntu 20.04 WSL distro
2 years ago
Christian Adams
b1caba8b53
Add Ansible community 7.1.0 porting guide ( #79553 )
2 years ago
Lee Garrett
3fd519de57
Fix hardcoded python call ( #79520 )
...
Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
2 years ago
Anwesha Das
3cdf589ca7
Add Ansible community 6.7.0 porting guide ( #79544 )
2 years ago
Matt Davis
1424484be0
Prevent stdio deadlock in forked children ( #79522 )
...
* background threads writing to stdout/stderr can cause children to deadlock if a thread in the parent holds the internal lock on the BufferedWriter wrapper
* prevent writes to std handles during fork by monkeypatching stdout/stderr during display startup to require a mutex lock with fork(); this ensures no background threads can hold the lock during a fork operation
* add integration test that fails reliably on Linux without this fix
2 years ago
Matt Clay
80d2f8da02
ansible-test - Fix container detection. ( #79530 )
2 years ago
Matt Clay
31f95e201a
Handle line wraps in jinja_plugins test.
2 years ago
Matt Clay
79dfe14adf
More integration tests for import sanity test. ( #79532 )
2 years ago
Matt Clay
31f9d60b8d
Don't use color in jinja_plugins test.
...
This should prevent color codes from interfering with string matches.
2 years ago
Matt Martz
9acca5b3b9
Allow test to run on system with selinux enabled. Fixes #77564 ( #79510 )
2 years ago
Don Naro
042a55fbe0
Docs: Update intersphinx links for Ansible 7 ( #79485 )
2 years ago
Brian Coca
5b51b560d0
Removed sorting to preserve original order ( #74839 )
...
updated tests to reflect new order
2 years ago
Matt Martz
1998521e2d
Always create new role ( #78661 )
...
Don't use role cache for determining whether to create a new instance of role
2 years ago
Matt Clay
f9715f436c
ansible-test - Avoid direct use of `errno`.
...
Error handling on Python 3.x no longer requires the use of `errno` to identify specific errors.
2 years ago
Matt Clay
cda16cc5e9
ansible-test - Improve container management. ( #78550 )
...
See changelogs/fragments/ansible-test-container-management.yml for details.
2 years ago
Martin Krizek
3bda4eae6f
Fix repr(Task) to check action when testing for a meta task ( #79464 )
...
Fixes #79459
2 years ago
Sloane Hertel
01ff57bdff
add ansible-galaxy cli documentation for parallel execution ( #79433 )
...
* add ansible-galaxy cli documentation for parallel execution
Co-authored-by: saranti <tsarantis@proton.me>
* Update lib/ansible/cli/galaxy.py
* Update lib/ansible/cli/galaxy.py
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: saranti <tsarantis@proton.me>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
2 years ago
Gaudenz Steinlin
c33a782a9c
Fix password lookup rewrites file when using encrypt ( #79431 )
...
* Remove unused mock from test_password_already_created_encrypt
The _get_paths mock is never used in the
test_password_already_created_encrypt test case.
* Add test to assert the password file is not rewritten
If the password file already contains the salt and the hasing algorithm
does not use the ident parameter, the password lookup should not write
to the password file.
* Fix "changed" if using "encrypt" in password lookup
When using the "encrypt" parameter to the password lookup without the
ident parameter, the password file was always marked as "changed". This
caused the file to be rewritten with the same content. This is fixed by
only marking the file as changed, if an "ident" value needs to be added
to the file.
Fixes #79430 .
Add changelog entry
2 years ago
sbettid
3936b5c471
Fix file touch check mode result ( #79360 ) ( #79422 )
...
Fixes #79360
2 years ago
Maxwell G
ab76916b14
galaxy: Add license_file to manifest directives ( #79420 )
...
* galaxy: Add license_file to manifest directives
* ag collection build: Test license handling
This adds tests to ensure that
- REUSE licensing files: .reuse/dep5, LICENSES/*, anyfile.license
- galaxy.yml license_file
are always included in the manifest.
2 years ago
Brian Coca
5f3a6b78db
local connection: avoid tb when running in container with invalid user ( #79414 )
...
* local connection: avoid tb when running in container with invalid user
* clog
* cannot use uid, leave empty and ~/ will resolve itself
* get back to what it did
2 years ago
Matt Clay
38fe34244c
ansible-test - Fix completion error in Python 3.11.
2 years ago
Waleed Mortaja
3723c426d2
Fix lists styling ( #79481 )
2 years ago
Waleed Mortaja
3a6b6370ad
Add comma ( #79480 )
2 years ago
Sviatoslav Sydorenko
80551633c7
Set explicit meta `long_description_content_type` ( #79468 )
...
This is necessary for `twine check --strict` to pass.
2 years ago
Christian Loos
f79a54ae22
Update vendored distro ( #79227 )
...
Commit bb35d41
in branch python2.7-support from 2022-10-10:
https://github.com/python-distro/distro/commit/bb35d41
2 years ago
Brian Coca
505b29b2a9
more strftime docs ( #79417 )
...
* more strftime docs
fixes #79397
Co-authored-by: Matt Martz <matt@sivel.net>
Co-authored-by: Don Naro <dnaro@redhat.com>
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2 years ago
Wong Hoi Sing Edison
b148fd8dd7
ansible-galaxy - support ``resolvelib >= 0.5.3, < 0.10.0`` ( #79399 )
...
* Upgrade `resolvelib >= 0.5.3, < 0.10.0`
https://pypi.org/project/resolvelib/0.9.0/ released on 2022-11-17:
* https://github.com/sarugaku/resolvelib/blob/master/CHANGELOG.rst#090-2022-11-17
* https://github.com/sarugaku/resolvelib/releases/tag/0.9.0
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
2 years ago
Christian Adams
6ea058315f
Add Ansible community 7.0.0 porting guide ( #79448 )
2 years ago
Don Naro
e5399c95d5
issue #79378 html context in sphinx conf ( #79401 )
2 years ago
Don Naro
32c90080e4
Docs: Updating the Ansible community changelogs ( #79400 )
2 years ago
Mark Chappell
3cc95d1f12
docs - make the existence of 'trivial' changelog entries easier to find ( #79440 )
2 years ago
Jordan Borean
493ef4a559
WinRM - Add doc entry for cert auth over TLS 1.3 ( #79434 )
2 years ago
Brian Coca
1bda6750f5
fix reject list ( #79391 )
2 years ago
Matt Martz
942bcf6e7a
Add manifest includes for reuse licenses ( #79403 )
...
* Add includes for reuse licenses
* Add additional exludes to follow REJECT_EXTS
* clog frag
2 years ago
Sandra McCann
a954918b60
consolidate duplicated test files ( #79380 )
2 years ago
Matt Martz
d925ece764
Allow pip like version syntax for installing collections ( #79405 )
2 years ago
seachanged
6cec31574f
Update fileglob.py ( #78887 )
...
Improve documentation for relative file paths
2 years ago
Joseph Shraibman
f089aae5ee
Clarify that b64decode does not work with binary output ( #79294 )
2 years ago